Re: Script to capture stderr of subprocess

2010-10-20 Thread Nobody
On Tue, 19 Oct 2010 11:21:49 -0700, jslow...@gmail.com 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

Script to capture stderr of subprocess

2010-10-19 Thread jslow...@gmail.com
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 will need to connect to the terminal of

Re: Script to capture stderr of subprocess

2010-10-19 Thread Arnaud Delobelle
jslow...@gmail.com jslow...@gmail.com 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