Top "Sigint" questions

On POSIX-compliant platforms, SIGINT is the signal sent to a process by its controlling terminal when a user wishes to interrupt the process.

Python: How to prevent subprocesses from receiving CTRL-C / Control-C / SIGINT

I am currently working on a wrapper for a dedicated server running in the shell. The wrapper spawns the server …

python subprocess signals sigint keyboardinterrupt
Sending SIGINT (Ctrl-C) to program running in Eclipse Console

I have setup a run configuration in Eclipse and need to send SIGINT (Ctrl+C) to the program. There is …

python eclipse twisted sigint
Equivalent to "SIGINT" (posix) signal for catching "CTRL+C" under Windows/MinGW

I am porting a Linux/gcc program under windows and implemented common exceptions handling for both. I was wondering what …

c++ windows exception mingw sigint
Signals when debugging

I'm developing an application (a service/daemon, really) on Linux in C++ that needs to interface with a piece of …

c++ linux eclipse netbeans sigint
How to gracefully terminate an asyncio script with Ctrl-C?

I've read every post I could find about how to gracefully handle a script with an asyncio event loop getting …

python signals python-asyncio sigint
send SIGINT to child process

I am trying to create a child process and then send SIGINT to the child without terminating the parent. I …

c++ linux signals sigint
Capturing SIGINT using KeyboardInterrupt exception works in terminal, not in script

I'm trying to catch SIGINT (or keyboard interrupt) in Python 2.7 program. This is how my Python test script test looks: #!/…

python bash shell sigint
Unable to trap SIGINT signal in a background shell

I am unable to trap a signal when running in a child / background process. Here is my simple bash script: #!/…

bash signals child-process sigint bash-trap
How to pass SIGINT to child process with Python subprocess.Popen() using shell = true

I am currently trying to write (Python 2.7.3) kind of a wrapper for GDB, which will allow me to dynamically switch …

python gdb subprocess popen sigint
How can I catch SIGINT in threading python program?

When using threading module and Thread() class, SIGINT (Ctrl+C in console) could not be catched. Why and what can …

python multithreading signals sigint