in reply to Re^3: Win32 Processes...capturing output and timing out
in thread Win32 Processes...capturing output and timing out

All,

I came up with a solution...not the prettiest, but it works.

First, create a wrapper for launching executables, using Win32::Job. Use Win32::Job's run() function to implement the timeout. Launch this wrapper from the main application, which captures the output.

The use of Win32::Job limits this to the Win2K+ platforms...but for now, that's not really a big issue.

Thanks!
  • Comment on Re^4: Win32 Processes...capturing output and timing out