delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/12/19:03:36

From: "Markus F.X.J. Oberhumer" <k3040e4 AT wildsau DOT idv-edu DOT uni-linz DOT ac DOT at>
Newsgroups: comp.os.msdos.djgpp
Subject: stderr + popen()
Date: 12 Aug 1997 19:04:21 GMT
Organization: Johannes Kepler University Linz
Lines: 7
Message-ID: <5sqc3l$1kcm$1@alijku04.edvz.uni-linz.ac.at>
NNTP-Posting-Host: wildsau.idv-edu.uni-linz.ac.at
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Redirecting stderr to stdout (via `dup2') and then calling
popen() doesn't give the expected results, because stdout
is dup2'ed again inside popen.

Can someone give a workaround for this problem ?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019