Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Can I stop a backtick command but continue the script?

by RazorbladeBidet (Friar)
on Mar 02, 2005 at 17:59 UTC ( [id://435948]=note: print w/replies, xml ) Need Help??


in reply to Can I stop a backtick command but continue the script?

If you hit CTRL^C during playback, what happens?

My first thought is that if CTRL^C doesn't work (or exits the whole program) - you would want to handle the signal. See Signals.

If you want another option, you may want to fork and exec a child, then wait and listen for a certain key to kill the child.

Just a couple of thoughts, I'm sure there are many many others.
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs
  • Comment on Re: Can I stop a backtick command but continue the script?

Log In?
Username:
Password:

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

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

    No recent polls found