diff options
-rw-r--r-- | Lib/pty.py | 4 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -118,6 +118,10 @@ def fork(): if (slave_fd > STDERR_FILENO): os.close (slave_fd) + # Explicitly open the tty to make it become a controlling tty. + tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR) + os.close(tmp_fd) + # Parent and child process. return pid, master_fd @@ -96,6 +96,8 @@ Core and builtins Library ------- +- Patch #838546: Make terminal become controlling in pty.fork() + - Patch #1351744: Add askyesnocancel helper for tkMessageBox. - Patch #1060577: Extract list of RPM files from spec file in |