delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/06/21:00:49

From: snowball3 AT bigfoot DOT com (Mark E.)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to make bash.exe standalone
Date: Mon, 05 Jul 1999 14:01:34 GMT
Organization: Snowball's Web
Message-ID: <3780b85d.2410788@news3.ibm.net>
References: <37809447 DOT B143B3AA AT gmx DOT net>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
NNTP-Posting-Host: 129.37.91.99
X-Trace: 5 Jul 1999 14:01:26 GMT, 129.37.91.99
Lines: 19
X-Notice: Items posted that violate the IBM.NET Acceptable Use Policy
X-Notice: should be reported to postmaster AT ibm DOT net
X-Complaints-To: postmaster AT ibm DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jens Berger <jberger AT gmx DOT net> wrote:

>    When I copy the related .exe files to a separate directory and do
>not set DJGPP=C:\DJGPP\DJGPP.ENV and remove DJGPP  from the path I got
>the error message:
>
>chbar.sh: Can't make pipes for command substitution!
>chbar.sh: cannot duplicate fd 11 to fd 0: Bad file descriptor (EBADF)
>

Bash emulates pipes using temporary files, and it uses the environment
variable TMPDIR to point it to the directory where these files are to be
created. Set TMPDIR to an existing directory (like c:\temp or c:\tmp, etc.)
and the message will go away.

Mark
-- 
Mark E.: snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/

- Raw text -


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