in reply to waitpid returns -1 for still running child (Windows)
I cannot reproduce your results with either 5.8.9 or 5.10.1:
c:\test>\perl32\bin\perl.exe -wle"print $$, ':', $p=system 1, 'perl - +le\"print qq[??$$]; sleep 10; print q[exiting]\"'; print waitpid $p, +1 while sleep 1" 13960:14028 ??13984 0 0 0 0 0 0 0 0 0 0 exiting 14028 -1 -1 -1 Terminating on signal SIGINT(2)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: waitpid returns -1 for still running child (Windows)
by rovf (Priest) on Jul 06, 2010 at 12:21 UTC | |
by BrowserUk (Patriarch) on Jul 06, 2010 at 13:17 UTC | |
by rovf (Priest) on Jul 06, 2010 at 15:03 UTC | |
by BrowserUk (Patriarch) on Jul 06, 2010 at 16:16 UTC | |
by rovf (Priest) on Jul 07, 2010 at 13:45 UTC | |
| |
by rovf (Priest) on Jul 07, 2010 at 09:23 UTC |