[issue2489] Patch for bugs in pty.py

2009-06-01 Thread Fergus Henderson
Changes by Fergus Henderson : Added file: http://bugs.python.org/file14149/pty.py.patch2 ___ Python tracker <http://bugs.python.org/issue2489> ___ ___ Python-bugs-list m

[issue2489] Patch for bugs in pty.py

2009-06-01 Thread Fergus Henderson
Fergus Henderson added the comment: The spawn change (the last hunk of the original patch) is a bug fix, not an RFE. It has two parts that fix two bugs: (1) a coding bug: spawn() would not wait for the invoked process to finish. This is fixed by the line that adds the call to os.waitpid

[issue967161] pty.spawn() enhancements

2009-06-01 Thread Fergus Henderson
Fergus Henderson added the comment: #1 is a duplicate of issue 2489 <http://bugs.python.org/issue2489>, which has a patch attached. According to the other discussion in this thread, #2 was a misunderstanding. So I think we could close this bug as a duplicate. -

[issue2489] Patch for bugs in pty.py

2008-03-25 Thread Fergus Henderson
Fergus Henderson <[EMAIL PROTECTED]> added the comment: On Tue, Mar 25, 2008 at 9:22 PM, Guilherme Polo <[EMAIL PROTECTED]> wrote: > > I would suggest using "if not data" to check for EOF Good idea. __ Tracker <[EMAIL PROT

[issue2489] Patch for bugs in pty.py

2008-03-25 Thread Fergus Henderson
New submission from Fergus Henderson <[EMAIL PROTECTED]>: The attached patch fixes some bugs in the pty.py module: - spawn() would not wait for the invoked process to finish. Also, it did not return a meaningful value, so there was no way to tell if the invoked process