http://qs321.pair.com?node_id=862487


in reply to Disconnect from Remote Server

Your system command ("tail -f") never returns, because it keeps the file open and tries to follow it forever. So "after executing the code" never happens, the code keeps running until it is killed. Try just using tail (possibly with "-n" to adjust the number of lines you get).


All dogma is stupid.

Replies are listed 'Best First'.
Re^2: Disconnect from Remote Server
by rfbits (Initiate) on Sep 28, 2010 at 19:41 UTC
    Thanks!