delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/10/30/00:25:19

Date: Mon, 30 Oct 2000 07:22:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Peter J. Farley III" <pjfarley AT banet DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Bash 2.04 beta 6a
In-Reply-To: <4.3.1.0.20001029163249.00b1c670@pop5.banet.net>
Message-ID: <Pine.SUN.3.91.1001030072054.11071A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 29 Oct 2000, Peter J. Farley III wrote:

> Well, I did some more code reading yesterday, and the PerlProc_popen 
> procedure defined inside perl definitely uses 'exec("sh -c command")' 
> to run the command.  I'm going to try to figure out how to use or copy 
> the perl code

Before you copy that code, I'd suggest to make sure that invoking Bash 
with "sh -c" indeed removes the special meaning of #.

> The code I saw is 
> deliberately bypassed for DJGPP with "#if !defined(DJGPP)" (among other 
> systems).

This might have been done for good reasons, which far outweigh the 
problems with the little gork that started this thread.

- Raw text -


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