[issue38930] Subprocess failed to kill child process after timeout when using with statement

2019-11-27 Thread Xuan Hu
Xuan Hu added the comment: Seems it is a false negative report. Close it temporarily. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue38930] Subprocess failed to kill child process after timeout when using with statement

2019-11-27 Thread Xuan Hu
New submission from Xuan Hu : The original issue is that the `timeout` in `subprocess.run()` does not work properly, so I try to use `subprocess.Popen()` instead. There are two references I found, [1] is the implementation of `subprocess.run()` and [2] is the example for `Popen.communicate