[issue34785] pty.spawn -- auto-termination after child process is dead (a zombie)

Martin Panter report at bugs.python.org
Sat Sep 29 19:09:21 EDT 2018


Martin Panter <vadmium+py at gmail.com> added the comment:

Is this to get “spawn” working on a non-Linux platform like a recent Free BSD, OS X, or Solaris? If so, see Issue 26228.

If not, you might have to explain your use case better. Polling for the child exiting is going to race with handling the child’s output, and if there are other processes writing to the terminal after the child exits this will change the behaviour.

----------
nosy: +martin.panter

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34785>
_______________________________________


More information about the Python-bugs-list mailing list