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 ps
"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 and STDOUT wil
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 co