Re: pseudo tty stderr capture problem.
From: Andrew Gabriel (andrew_at_cucumber.demon.co.uk)
Date: 07/17/03
- Next message: Gabriel: "SIGTTIN signal when running process in the background (ksh SunOS 5.6)"
- Previous message: Gabriel: "Re: Unix Systems Programming Newbie - exec format error"
- In reply to: Min Shei: "pseudo tty stderr capture problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 17 Jul 2003 10:05:25 GMT
In article <23c4da62.0307151507.7fbba54c@posting.google.com>,
minshei@hotmail.com (Min Shei) writes:
> Hi, All,
>
> I was trying to make a simple pseudo tty program to capture the stdout
> and stderr from the child process to avoid the stdout buffering
> problem. The following is a little program I found on one new group
> here (written by Richard Tobin, 1990). However, this program captures
> the child's stdout very well. But I just couldn't make it work for the
> stderr of the child process. My platform is Solaris 2.7.
>
> Has anyone here had the same problem? The program could be compiled
> by:
> cc -o nobuf nobuf.c pseudopipe.c
Didn't come close to compiling for me.
-- Andrew Gabriel Consultant Software Engineer
- Next message: Gabriel: "SIGTTIN signal when running process in the background (ksh SunOS 5.6)"
- Previous message: Gabriel: "Re: Unix Systems Programming Newbie - exec format error"
- In reply to: Min Shei: "pseudo tty stderr capture problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|