control-c Questions

3

Solved

Is it possible to catch the Ctrl+C signal in a java command-line application? I'd like to clean up some resources before terminating the program.
Bandur asked 23/10, 2009 at 7:49

1

Solved

How can I run a command from a python script and delegate to it signals like Ctrl+C? I mean when I run e.g: from subprocess import call call(["child_proc"]) I want child_proc to handle Ctrl+C
Cormac asked 24/7, 2014 at 14:12

1

Solved

Sometimes when I run a scan '<tablename>. I see a continuous flood of data being printed because the table is big. I want to kill the process that print the data. Is there a way to do it othe...
Breastfeed asked 11/6, 2013 at 14:52

2

In a multithreaded Python program, one thread sometimes asks for console input using the built-in raw_input(). I'd like to be able to be able to close the program while at a raw_input prompt by typ...
Civilize asked 13/2, 2012 at 22:59
1

© 2022 - 2024 — McMap. All rights reserved.