Bug#278947: No way to retrieve the exit status of a subprocess
Daniel Burrows
Daniel Burrows <d.burrows4@verizon.net>, 278947@bugs.debian.org
Sat, 30 Oct 2004 11:41:17 -0400
Package: python-vte
Severity: normal
One of the basic things that a user of the vte widget is likely to want to
do is to retrieve the exit status of the process that was run within it. In
the C library, this seems to be done by binding to the reaper's
"child-exited" signal. Unfortunately, since the reaper is not wrapped by
python-vte, there isn't any way to read the child process' exit status from
within Python (since the reaper does a waitpid() and consumes it).
Ideally, the terminal's child-exited signal would pass this information
along...but either way, ther needs to be a way to get at this information
from the vte module.
Daniel
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set
to en_US)
--
/----------------- Daniel Burrows <d.burrows4@verizon.net> -----------------\
| A: No. See http://www.netmeister.org/news/learn2quote.html |
| Q: Should I include quotations after my reply? |
\---------------- The Turtle Moves! -- http://www.lspace.org ---------------/