Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Update python_repl to use ignoring_sigint to... ignore SIGINT #7890
After removing forking from pantsd, we introduced a new abstraction to
This was necessary because no pants runs under pantsd run in a non-main thread, and therefore crash when you install signal handlers.
This PR makes use of that new functionality, to ignore
Instead of only ignoring sigint in the cases where we are not running from the daemon, ignore it every time using the new
Using Ctrl-C on a python repl is properly ignored and no longer crashes the daemon.