Some problems writing a threaded program
kr.angelov at gmail.com
Wed Feb 13 07:30:09 EST 2008
2008/2/11 John Vogel <jpvogel1 at gmail.com>:
> The only issue now is that terminateProcess doesn't always terminate
> netstat.exe in the cmd.exe so I don't get an exit condition.
A simple way is to use runInteractiveProcess instead of
runInteractiveCommand. The former doesn't start a new cmd.exe but
starts netstat.exe directly. There isn't point of using
runInteractiveCommand unless you want to execute some shell commands
or batch files.
More information about the Glasgow-haskell-users