Mark Mentovai added the comment:
Another use case for preexec_fn: establishing a new controlling terminal,
typically in conjunction with start_new_session=True. A preexec_fn may do
something like
os.close(os.open(os.ttyname(sys.stdin.fileno(), os.O_RDWR)))
with discussion at
https
Mark Mentovai [EMAIL PROTECTED] added the comment:
This is not limited to Windows. I experience this bug on Mac OS X and
Linux as well.
http://mail.python.org/pipermail/python-list/2008-August/505753.html
Attachment 3210.py is a reduced testcase. It attempts to execute nocmd,
which should