[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49211] "test syscall" often hangs on Windows
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #49211] "test syscall" often hangs on Windows |
Date: |
Thu, 29 Sep 2016 03:59:39 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #49211 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Confirmed. I think the problem is that Windows just doesn't really have the
same notion of children, process IDs, etc.
I played around with your script and waitpid, even when it returns, doesn't
seem to do anything. I used the Process Monitor in Windows and I could see
that there were still 'sort' processes left over.
What I did find that worked was using
fclose (in);
fclose (out);
At that point, I got no extra sort processes.
Maybe we need a waitpid process that is specifically written for Windows. The
popen2 call is written for Windows, but waitpid is coming from gnulib.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49211>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/