Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: system() requires double ctrl-c (cases)

by wol (Hermit)
on Nov 10, 2008 at 13:21 UTC ( [id://722652]=note: print w/replies, xml ) Need Help??


in reply to Re: system() requires double ctrl-c (cases)
in thread system() requires double ctrl-c

I just wind up hammering ctrl-c till the prompt comes back (sometimes whilst muttering obscenities just slightly too audibly for an open plan office).

But what if you wanted to kill just the child and keep the parent running?

From the perspective of the end user, this distinction doesn't make much sense. If I run a command, and then hit ctrl-c, then I want it to kill the command I ran. I just don't care how that command was implemented: whether it was implemented with a single process or a whole tree of them.

(I might appreciate special handling of ctrl-c if the command I ran provides some sort of interactive environment (eg a command line text editor). That would probably need to be considered on a case-by-case basis.)

Many annoying things. Even the weather is abysmal today. Grr.

This post was brought to you by the adjectives "grumpy" and "wet".

--
.sig : File not found.

  • Comment on Re^2: system() requires double ctrl-c (cases)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-19 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found