in reply to Win32 Processes...capturing output and timing out
Start your external process within a thread, (no need for "exec", then pass data to the parent using shared variables or
use Thread::Queue;
The parent process can manage the threads, timing them out, and killing as required.
"There are only two truly infinite things. The universe and stupidity, and I'm not too sure about the universe"- Albert Einstein
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32 Processes...capturing output and timing out
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 |