delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/04/08/11:27:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
From: Eli Zaretskii <eliz AT gnu DOT org>
To: djgpp AT delorie DOT com
In-reply-to:
<97e7dd63-3c51-4796-a5ba-c8a1cddaabbc AT w17g2000yqj DOT googlegroups DOT com>
(message from RayeR on Thu, 8 Apr 2010 04:46:41 -0700 (PDT))
Subject: Re: redirect stderr to stdout/file in djgpp 2.x
References: <97e7dd63-3c51-4796-a5ba-c8a1cddaabbc AT w17g2000yqj DOT googlegroups DOT com>
Message-Id: <E1NztLP-0001Fs-6b@fencepost.gnu.org>
Date: Thu, 08 Apr 2010 11:08:35 -0400
Reply-To: djgpp AT delorie DOT com

> From: RayeR <glaux AT centrum DOT cz>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 8 Apr 2010 04:46:41 -0700 (PDT)
> 
> Hi, I know there's redir.exe to do this. But I also found that GO32=
> variable can be uset to set it globally. But it seems it works only
> for old djgpp using go32 extender (tried with 2.04 but didn't work).
> Is there something similar in new DJGPP?

No.  With DJGPP v1.x, it was possible because the extender was running
the DJGPP program, so it was possible to use the DOS file handle
inheritance to provide this feature.  In v2.x, the "extender" is just
a DPMI server, and the program runs independently of it.  Therefore,
file handles are not (and can not) be inherited.

- Raw text -


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