
open doesn't return child pid under OS/2
Open does not seem to return a valid pid under OS/2 when the open includes a
child process...
Example...
$childsubpid=open(COMMAND,"rsh somewhere myprog.exe|");
In this example, $chilesubpid is always assigned the value 1. I need to
know the child pid in order to kill the process after a specified amount of
time has elapsed (managed via an alarm()).
I'm using 4.036 for OS/2. Any ideas?
--
Manager Advanced Treasury Analytics 416-361-4925
Canada Trust, Toronto