delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/08/07/06:24:16

Date: Wed, 7 Aug 1996 13:19:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Shell script execution in spawnXX
In-Reply-To: <199608070127.VAA17283@delorie.com>
Message-Id: <Pine.SUN.3.91.960807131108.16951A-100000@is>
Mime-Version: 1.0

On Tue, 6 Aug 1996, DJ Delorie wrote:

> The "0" means "default" - it should check *every* text file that isn't
> a .com, .exe, or .bat.

Right, but only if there *is* an extension.  An extensionless script (and
shell scripts are mostly so) will end up in go32_exec instead, where
nothing good will happen to it.

I should probably add some code to go32_exec that checks for "#!" 
signature and calls script_exec when appropriate.

Do we want to be able to invoke unstubbed v2 programs too?  (Right now, 
only v1 COFF files are invokable this way, as far as I can see.)  The 
easiest method to achieve this is by calling go32-v2.

- Raw text -


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