Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pdb in the child process by ensuring stdin is fd 0 #15

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

mmerickel
Copy link
Member

Python's input() builtin will only use readline support if the stdin fd
matches the one the process started with (0 on unix systems). This patch
restores the duped fd onto fd 0 after multiprocessing closed the
original copy.

Python's input() builtin will only use readline support if the stdin fd
matches the one the process started with (0 on unix systems). This patch
restores the duped fd onto fd 0 after multiprocessing closed the
original copy.
@mmerickel mmerickel mentioned this pull request Mar 8, 2017
@digitalresistor digitalresistor merged commit e2d0738 into master Mar 8, 2017
@digitalresistor digitalresistor deleted the fix/stdin-readline branch March 8, 2017 05:50
mmerickel added a commit that referenced this pull request Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants