keydet89 has asked for the wisdom of the Perl Monks concerning the following question:
@output = 'cmd';
};
Every now and then, I'll come across a command that hangs, but when using backticks, I don't have a way of killing the process after a timeout.
I've looked at Win32::Process and Win32::Job, but neither one has a way of capturing the output in a list, or even a scalar...Win32::Job uses files.
Is there a way to accomplish this?
Thanks,
Harlan
keydet89 at yahoo dot com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32 Processes...capturing output and timing out
by NetWallah (Canon) on Apr 20, 2005 at 19:36 UTC | |
by keydet89 (Initiate) on Apr 21, 2005 at 17:58 UTC | |
by BrowserUk (Patriarch) on Apr 21, 2005 at 18:16 UTC | |
by NetWallah (Canon) on Apr 22, 2005 at 05:23 UTC | |
by keydet89 (Initiate) on Apr 22, 2005 at 11:19 UTC |