Skip to content

bpo-34785: Enhanced functionality in pty module#9525

Closed
JarryShaw wants to merge 1 commit into
python:masterfrom
JarryShaw:fix-issue-34785
Closed

bpo-34785: Enhanced functionality in pty module#9525
JarryShaw wants to merge 1 commit into
python:masterfrom
JarryShaw:fix-issue-34785

Conversation

@JarryShaw

@JarryShaw JarryShaw commented Sep 24, 2018

Copy link
Copy Markdown

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 parent process hung, to check if the child process is dead periodically and if so, terminate the whole process then return.

https://bugs.python.org/issue34785

@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@taleinat

Copy link
Copy Markdown
Contributor

I'm closing this for now, pending further discussion on b.p.o. and the contributor signing a CLA.

@taleinat taleinat closed this Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants