Issue #1198 resolved

SignalHandlingTests hang on Python 2.7 on Windows waiting for subprocess to stop

Jason R. Coombs
created an issue

The SignalHandlingTests.test_SIGTERM hangs intermittently on Windows. I believe there are subtle timing issues with writing out the pid. Prior to Python 2.7, this was a non-issue because os.kill was not implemented on Windows and the test would always be skipped.

Furthermore, this test is probably inappropriate for Windows as SIGTERM doesn't exist on Windows, and use of os.kill with signals.SIGTERM will result in unconditionally killing the process (different from sending it the Ctrl+C event). See the os.kill docs for details.

Comments (1)

  1. Log in to comment