cash icon indicating copy to clipboard operation
cash copied to clipboard

Interrupting a task with Ctrl+C ?

Open warpdesign opened this issue 9 years ago • 4 comments

Is it possible to interrupt a running task with ctrl+c ?

warpdesign avatar Feb 26 '16 08:02 warpdesign

It should be. What happens currently? (and what terminal pgm are you using?)

dthree avatar Feb 28 '16 00:02 dthree

I tried this on my Ubuntu box:

cash $ cat /dev/zero

Several ^C's couldn't stop it. It froze up my machine, so I couldn't even issue an external kill command, so I had to reboot. ^C does the trick on Bash though.

nfischer avatar Feb 28 '16 06:02 nfischer

I tried grunt which started a server.

Several ^Cdid nothing at all while on a normal cmd prompt (on Windows 10) it allows me to stop the server.

Note that Ctrl+Breakwill be detected but will not only kill current running process but also kill cash (on Windows both shortcuts are supposed to kill current running process: CTRL+C and CTRL+BREAK Signals), returning to default CMD prompt.

warpdesign avatar Feb 28 '16 14:02 warpdesign

Upvoting this issue.

Over all, good job guys! I'm excited to see where this goes.

ntoscano avatar Mar 22 '16 23:03 ntoscano