Date: Wed, 7 Aug 1996 13:19:11 +0200 (IST) From: Eli Zaretskii To: DJ Delorie Cc: djgpp-workers AT delorie DOT com Subject: Re: Shell script execution in spawnXX In-Reply-To: <199608070127.VAA17283@delorie.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.