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

2019-02-25 Thread Jarry Shaw
Jarry Shaw added the comment: This issue is duplicated with issue26228, sorry. -- stage: patch review -> resolved status: pending -> closed ___ Python tracker ___

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

2019-02-21 Thread Martin Panter
Martin Panter added the comment: Suggest closing this assuming it is a duplicate, unless Jarry can give more information. -- resolution: -> duplicate status: open -> pending superseder: -> pty.spawn hangs on FreeBSD 9.3, 10.x ___ Python tracker

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

2018-09-29 Thread Martin Panter
Martin Panter 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,

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

2018-09-24 Thread Jarry Shaw
Change by Jarry Shaw : -- pull_requests: +8930 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2018-09-24 Thread Jarry Shaw
New submission from Jarry Shaw : As in pty.spawn, once started, the parent process will be hanged, even if the child process is already dead (or a zombie), and must wait for a KeyboardInterrupt or else to terminate the whole process. Thus, I propose to revise `_copy` function, where the