[ python-Feature Requests-967161 ] pty.spawn() enhancements
SourceForge.net
noreply at sourceforge.net
Sat Jun 5 12:29:34 EDT 2004
Feature Requests item #967161, was opened at 2004-06-05 12:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=967161&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: A.M. Kuchling (akuchling)
Assigned to: Nobody/Anonymous (nobody)
Summary: pty.spawn() enhancements
Initial Comment:
(Originally suggested by James Henstridge in bug #897935)
There are also a few changes that would be nice to see
in pty.spawn:
1) get the exit status of the child. Could be fixed by
adding the following to the end of the function:
pid, status = os.waitpid(pid, 0)
return status
2) set master_fd to non-blocking mode, so that the
output is printed to the screen at the speed it is
produced by the child.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=967161&group_id=5470
More information about the Python-bugs-list
mailing list