Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Run and kill external programm after x seconds

by davido (Cardinal)
on Nov 22, 2016 at 17:34 UTC ( [id://1176357]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
            STDOUT->flush;
        }
    }                                           # lather, rinse, repeat.
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
        print STDOUT "ping\n";
        sleep 2;
    }
    
  3. or download this
    Our command is >>>/home/......./scripts/outputter<<<
    ......................................................................
    +..........
    ...
    (pong)
    .................................^C
    Command terminated
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found