Mail Archives: djgpp-workers/1996/08/07/06:24:16
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 -