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

More simple or complicated than what?
  • Comment on Re^5: How to read from shell command and terminate it afterwards?

Replies are listed 'Best First'.
Re^6: How to read from shell command and terminate it afterwards?
by chessgui (Scribe) on Feb 10, 2012 at 10:13 UTC
    I can go ahead and use threads to deal with the STDOUT and STDERR of the child. Not more complicated than this.

      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.