Hi,
    I have a problem I can not seem to figure out.  I need run an executable
from a Perl script and I want it to return the PID for the executable.  I
looked at the docs for fork(), but if I did something like:
if($PID = fork)
{
    system("foo.exe");
}
I think it would return the PID for the fork in the if statement and not the
one from the system call.  Is there any way to get the PID from the child?
Any help would be greatly appreciated.

Thanks,

Daryl

Reply via email to