Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Disconnect from Remote Server

by tirwhan (Abbot)
on Sep 28, 2010 at 19:18 UTC ( #862487=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Disconnect from Remote Server
Download Code
Re^2: Disconnect from Remote Server
by rfbits (Initiate) on Sep 28, 2010 at 19:41 UTC
    Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-04-16 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (424 votes), past polls