At 12:47 +0000 2002.04.27, Peter Prymmer wrote: >I just wanted to ask in this forum about a new test being worked >on in the vmsperl list that will make extensive use of > > open(HANDLE, "|$^X"); > >and: > > waitpid($pid); > >calls. The information regarding waitpid() in perlport.pod says that >it is not supported under $^O eq 'MacOS', but that Perl's waitpid() >will apparently work after a call to Perl's system() if you are running >the Perl MPW tool and MPW Toolserver. It is the case that one does not >necessarily run `buildProgram test` with ToolServer running - hence >skipping the test for C<$^O eq 'MacOS'> is the "best" policy is it not?
waitpid() is entirely unimplemented in MacPerl, so yeah, skipping it in that manner is the best thing. I think the thing about using the system() return value in waitpid() is for Win32. -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Development Network [EMAIL PROTECTED] http://osdn.com/