Message14870
I'm seeing odd behavior with os.popen() on
certain platforms such as FreeBSD and OpenBSD.
FWIW, I posted about this problem almost two
years ago on c.l.p, and never got a resolution.
See
http://mail.python.org/pipermail/python-list/2001-May/042373.html
Now, many Python and FreeBSD upgrades later,
I see the problem still exists. Now however, I need to
find a solution as I can't workaround it any longer.
I've attached about the simplest test case I could
produce below. You can call it from a .forward or
.qmail file.
On Free/OpenBSD, the program runs but leaves a
python process lying around:
jasonrm 142 0.0 0.2 2576 2008 ?? I 5:42PM
0:00.02 python /tmp/hang (python2.2)
On other platforms such as Linux, the program also
runs, but no process is left hanging around.
I've been able to reproduce the problem on Free/OpenBSD
only. The problem doesn't appear on IRIX, BSD/OS or
Linux.
Please let me know if I can do anything more to help
debug this. |
|
Date |
User |
Action |
Args |
2007-08-23 14:11:33 | admin | link | issue694062 messages |
2007-08-23 14:11:33 | admin | create | |
|