Re: getting a child process's pid

2002-07-10 Thread Jenda Krynicky
From: "John W. Krahn" <[EMAIL PROTECTED]> > "Daryl J. Hoyt" wrote: > > 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 > > li

Re: getting a child process's pid

2002-07-09 Thread John W. Krahn
"Daryl J. Hoyt" wrote: > > Hi, Hello, > 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.

getting a child process's pid

2002-07-09 Thread Daryl J. Hoyt
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