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
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
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.
-
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
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