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

Aside from the (excellent) solutions proposed here, which explain how to do this in Perl, you could also wrap the three lines you presented us, in a shell script and invoke this script in the usual way (using backticks) from Perl.

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^4: How to read from shell command and terminate it afterwards?
by chessgui (Scribe) on Feb 10, 2012 at 11:33 UTC
    True :).