On Aug 7, 3:42 pm, mark.v.we...@gmail.com mark.v.we...@gmail.com
wrote:
When I kill the main process (cntl-C) the subprocess keeps running.
How do I kill the subprocess too? The subprocess is likey to run a
long time.
You can register functions to run when the Python process ends by
using the
mark.v.we...@gmail.com mark.v.we...@gmail.com (M) wrote:
M I am writing a Python program that launches a subprocess (using
M Popen).
M I am reading stdout of the subprocess, doing some filtering, and
M writing to
M stdout of the main process.
M When I kill the main process (cntl-C) the
On Aug 7, 12:57 am, alex23 wuwe...@gmail.com wrote:
On Aug 7, 3:42 pm, mark.v.we...@gmail.com mark.v.we...@gmail.com
wrote:
When I kill the main process (cntl-C) the subprocess keeps running.
How do I kill the subprocess too? The subprocess is likely to run a
long time.
You can register
I am writing a Python program that launches a subprocess (using
Popen).
I am reading stdout of the subprocess, doing some filtering, and
writing to
stdout of the main process.
When I kill the main process (cntl-C) the subprocess keeps running.
How do I kill the subprocess too? The subprocess is