develooper Front page | perl.perl5.porters | Postings from July 2000

nonblocking waitpid() on win32

July 28, 2000 07:38
nonblocking waitpid() on win32
Message ID:
I believe that waitpid() has a problem in ActiveState's perl port (I'm
using v5.6.0).  The call accepts a flags argument, but apparently
ignores it and [according to someone who independently verified this]
just calls WaitForSingleObject(hProcess, INFINITE) rather than checking
the flag and allowing a timeout.  

In addition, POSIX::WNOHANG has not been defined but probably should be
(as 1). 

The overall goal, of course, is to be able to do a 


and have it work correctly, as it does with non-activestate perl under

Brian Clarke
Applied MetaComputing LLC
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About