in reply to Re^5: How to read from shell command and terminate it afterwards?
in thread How to read from shell command and terminate it afterwards?

I can go ahead and use threads to deal with the STDOUT and STDERR of the child. Not more complicated than this.
  • Comment on Re^6: How to read from shell command and terminate it afterwards?

Replies are listed 'Best First'.
Re^7: How to read from shell command and terminate it afterwards?
by ikegami (Patriarch) on Feb 11, 2012 at 02:39 UTC

    I don't see how to do a working thread solution. You'd be left with threads blocked reading data you don't even want while the program proceeds on.

    So again, I don't know of an alternative solution against which to compare the complexity of mine.