Message166303
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 |
|
Date |
User |
Action |
Args |
2012-07-24 15:54:24 | Kevin.Barry | set | recipients:
+ Kevin.Barry |
2012-07-24 15:54:24 | Kevin.Barry | set | messageid: <1343145264.42.0.00742888173781.issue14916@psf.upfronthosting.co.za> |
2012-07-24 15:54:23 | Kevin.Barry | link | issue14916 messages |
2012-07-24 15:54:23 | Kevin.Barry | create | |
|