This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author raynorj
Recipients
Date 2003-11-08.20:21:59
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
pty.fork() does not allocate a controlling tty on
systems that don't have os.forkpty().  The code for
pty.fork() tries to use os.forkpty(), and if it isn't
available, then it tries to do its work in python, but
it doesn't work.

The code does setup stdin, stdout, and stderr to use
the slave device, but it needs to do an explicit open
on the slave device to make it become a controlling tty.

This patch is against pty.py from python 2.3, but the
same change can be made to pty.py from python 2.2 and
it works there.

History
Date User Action Args
2007-08-23 15:29:43adminlinkissue838546 messages
2007-08-23 15:29:43admincreate