Originally posted by elllit
Hi,
hmm... i don't quiet get it...
Where's the difference to nsExec with the /TIMEOUT=x flag?
If I understand nsExec correctly, then it the /TIMEOUT param will return control to the installer if there was
no output by the application for x milliseconds. Also the timeout will be
reset when there is new output. So this is only useful for console applications, that write stuff to stdout. It's not useful for GUI applications! Also I'm not sure whether nsExec will terminate the process on timeout or simply leave it alone. My plugin can do both! And it doesn't care about console output, it simply returns control to the installer after a maximum of x milliseconds. So you can be sure that your installer won't stall! Using nsExec an application could constantly write random stuff to stdout and do so until forever. So that application would
never timeout and your installer will stall...
Of course my ExecTimeout plugin is useless if you need to capture the console output. It was never intended to do that. I said it's a very simple plugin...
The timeout value is optional. The timeout is the time in
milliseconds nsExec will wait for output. If output from the
process is received, the timeout value is reset and it will
again wait for more output using the timeout value.