Capture stdout and stderr from child process
From: Peter Tan (shiuyuan_at_yahoo.com)
Date: 08/29/03
- Next message: Barry Margolin: "Re: Capture stdout and stderr from child process"
- Previous message: Eric Sosman: "Re: Stopping two processes using pkill in a script"
- Next in thread: Barry Margolin: "Re: Capture stdout and stderr from child process"
- Reply: Barry Margolin: "Re: Capture stdout and stderr from child process"
- Reply: Derk Gwen: "Re: Capture stdout and stderr from child process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Aug 2003 12:06:12 -0700
Hello,
I am trying to capture standard output and error from unix shell
running as a child process. I understand that to do so, I need to use
pseudo terminal. But the problem is the slave side combine stdout and
stderr nad print them out together on the terminal. My question is if
there is a way to separate stderr and stdout?
Thanks You,
Peter
- Next message: Barry Margolin: "Re: Capture stdout and stderr from child process"
- Previous message: Eric Sosman: "Re: Stopping two processes using pkill in a script"
- Next in thread: Barry Margolin: "Re: Capture stdout and stderr from child process"
- Reply: Barry Margolin: "Re: Capture stdout and stderr from child process"
- Reply: Derk Gwen: "Re: Capture stdout and stderr from child process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|