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.
In reply to Re^7: How to read from shell command and terminate it afterwards?
by ikegami
in thread How to read from shell command and terminate it afterwards?
by Wen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |