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