in reply to Re: Killing a process on Windows (Win32::Process question)
in thread Killing a process on Windows (Win32::Process question)
The problem is that the creation of subprocesses happens outside my Perl application. I basically get as input a string, which contains some Windows command (typically the name of a Batch file). I then need to create a job (I create a console for this), and this is the job which I want to kill when it runs for too long. The problem is that I have no idea what the batch file will be doing. It can call some EXE file which in turn creates tons of subprocesses. If I understand you right, Win32::Job won't help me in this case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Killing a process on Windows (Win32::Process question)
by BrowserUk (Patriarch) on May 14, 2009 at 14:13 UTC | |
by rovf (Priest) on May 15, 2009 at 08:06 UTC |