Author Kevin.Barry
Recipients Kevin.Barry
Date 2012-07-24.15:54:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343145264.42.0.00742888173781.issue14916@psf.upfronthosting.co.za>
In-reply-to
Content
I've attached a simplified example program (working3.c) that demonstrates both the original problem and that the patch (Python-2.6.6-Run_Interactive-fix.patch) works. It eliminates the need for a pty, 'xterm', and redirection.


Compile the attached program with:

> gcc `python-config --cflags` working3.c -o working3 `python-config --ldflags`

and run it with (before and after patching):

> ./working3


Also, for verification, run 'python' with no arguments to show that default interactivity is preserved.

Kevin Barry
History
Date User Action Args
2012-07-24 15:54:24Kevin.Barrysetrecipients: + Kevin.Barry
2012-07-24 15:54:24Kevin.Barrysetmessageid: <1343145264.42.0.00742888173781.issue14916@psf.upfronthosting.co.za>
2012-07-24 15:54:23Kevin.Barrylinkissue14916 messages
2012-07-24 15:54:23Kevin.Barrycreate