Ramesh

Ramesh

  • NA
  • 81
  • 9.2k

is there a way to catch SIGINT in a custom signal handler while os.sys

Mar 12 2021 3:26 AM
Hey everyone, is there a way to catch SIGINT in a custom signal handler while os.system is executing?'s: https://mail.python.org/pipermail/python-list/2002-April/127700.html Like I want a custom signal handler to catch the SIGINT in my python code, but the signal is going directly to the process running in os.system (on pressing Ctrl+C)

Answers (1)