Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Capture PID from child process on Windows.by stmast (Initiate) |
on Nov 08, 2005 at 21:51 UTC ( [id://506909]=perlquestion: print w/replies, xml ) | Need Help?? |
stmast has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I'm trying to capture the PID of a child process from SYSTEM or EXEC. I have tried using FORK with EXEC which returns a PID, but not the PID listed in TaskMgr for Windows. I need to capture the PID in order to kill the process if it hangs. Here is a copy of the code I'm using to get the non-matching PID. Thanks!
Back to
Seekers of Perl Wisdom
|
|