[issue14091] python subprocess hangs if script called from another directory

2012-02-23 Thread STINNER Victor
STINNER Victor added the comment: > Will follow it. If you report the issue to abrt, could you give me the url to your report please? (as a comment to this issue) -- ___ Python tracker __

[issue14091] python subprocess hangs if script called from another directory

2012-02-23 Thread Massimo Paladin
Massimo Paladin added the comment: Will follow it. Thanks, -Massimo -- resolution: -> works for me status: open -> closed ___ Python tracker ___ __

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread STINNER Victor
STINNER Victor added the comment: > (gdb) where > #0  0x0039d3a0e8e0 in __connect_nocancel () from /lib64/libpthread.so.0 > #1  0x7095c678 in ?? () from > /usr/lib64/python2.7/lib-dynload/_socketmodule.so > #2  0x7095d524 in ?? () from > /usr/lib64/python2.7/lib-dynload/_so

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread Massimo Paladin
Massimo Paladin added the comment: $ cd ~; gdb -args python /tmp/example.py GNU gdb (GDB) Fedora (7.3.50.20110722-10.fc16) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread STINNER Victor
STINNER Victor added the comment: Could you try to collect more information with gdb? cd ~; gdb -args python /tmp/example.py (gdb) run CTRL+c (gdb) where -- ___ Python tracker __

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread Massimo Paladin
Massimo Paladin added the comment: The line which is mentioned in the exception for the file example.py is 7 because I have something commented out which I didn't past in the text before. -- ___ Python tracker __

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread Massimo Paladin
Massimo Paladin added the comment: Yes, the expected one: ^CTraceback (most recent call last): File "/tmp/example.py", line 7, in p = Popen(args) File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 12

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the problem on Fedora 16 with Python 2.7.2. > It hangs until I stop it with ctrl-c Do you get an exception after hiting CTRL+c? -- nosy: +haypo ___ Python tracker

[issue14091] python subprocess hangs if script called from another directory

2012-02-22 Thread Massimo Paladin
New submission from Massimo Paladin : Here is the behavior I am getting only on Python 2.7.2 in a Fedora 16: $ cat /tmp/example.py from subprocess import Popen,PIPE args = "whatever program".split() p = Popen(args) If I run the program with: $ cd /tmp/; python example.py I get following as expe