Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Early termination of STDIN with combination of ssh and sleep

by Crackers2 (Parson)
on Dec 25, 2013 at 03:25 UTC ( #1068345=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            die "Unable to exec\n" unless(exec("/usr/bin/ssh localhost /bi
    +n/sleep 10 </dev/null"));
    
  2. or download this
            die "Unable to exec\n" unless(exec("/usr/bin/ssh -n localhost 
    +/bin/sleep 10"));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-10-07 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (29 votes). Check out past polls.

    Notices?