[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: Ah right, thanks. I added a restore_signals=True argument to Popen in Python 3.2's subprocess module that does what you want: http://docs.python.org/dev/library/subprocess.html The way to emulate that in earlier versions is to use a preexec_fn to restore

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: fwiw http://mail.python.org/pipermail/python-list/2010-September/1256545.html -- nosy: +exarkun ___ Python tracker ___

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: can i have you do another experiment here? after you "ssh r...@testbox /tmp/test.{py,sh}" can you: 1) login to testbox, run pstree -p 2) run an strace -p pid_of_python_or_bash >strace_for_foo.out (for each of the test.py and test.sh processes) 3) interrupt

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread David
New submission from David : Hi, I mentioned this on the mailing list over here: http://mail.python.org/pipermail/python-list/2010-September/1256407.html I think it's a Python bug, so reposting it here: - Hi there, I have a strange situation. If I do this: 1. Make a script /tmp/te