Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cbmvax!uunet!bria!mike From: mike@bria.commodore.com Newsgroups: comp.unix.programmer Subject: Re: LOST in a PIPE Message-ID: <486@bria> Date: 27 Feb 91 22:03:39 GMT References: <782@skipper.dfrf.nasa.gov> <1991Feb25.174114.8830@athena.mit.edu> Reply-To: uunet!bria!mike Distribution: usa Organization: MGI Group International, Los Angeles, CA Lines: 13 Followup-To: Keywords: In an article, athena.mit.edu!jik (Jonathan I. Kamens) writes: | Ah, but wait, there's a trick! You can do this: |1. Create a pipe. |2. Fclose(stderr). |3. Fdopen() the write end of the pipe and assign the return value to stderr. Why not simply dup the stderr to stdout prior to the popen()? -- Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own. Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- Remember folks: If you can't flame MS-DOS, then what _can_ you flame?