in reply to Re^2: Testing whether a process has finished
in thread Testing whether a process has finished

Perhaps rovf's machine is one of the machines that doesn't?
It's Windows 2000, but the code is also supposed to run on Windows XP.
Second, it isn't entirely clear how one would write a program to use a non-blocking wait, assuming there is one.
Indeed I see from the perldocs only that waitpid accepts flags, but there is no description of what the possible value of these flags might be...

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^4: Testing whether a process has finished
by ikegami (Patriarch) on Sep 11, 2009 at 14:14 UTC

    but there is no description of what the possible value of these flags might be...

    From the docs (emphasis mine),

    If you say "$kid = waitpid(-1, WNOHANG);", then you can do a non-blocking wait