Re: Script to capture stderr of subprocess

2010-10-20 Thread Nobody
On Tue, 19 Oct 2010 11:21:49 -0700, [email protected] wrote: > Actually, if it was possible, it would be nice to capture all > the bytes going between stdin and stdout in a file as well for > debugging purposes. If the child process expects to be running on a terminal, you would need to use a ps

Re: Script to capture stderr of subprocess

2010-10-19 Thread Arnaud Delobelle
"[email protected]" writes: > We have a lot of curses-based console applications running on linux. I > would like to write a wrapper script that notifies us if the > application terminates unexpectedly. With my first, obviously naive > attempt, the subprocess dies instantly. STDIN and STDOUT wil