From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Wed, 7 Feb 2001 12:24:18 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Probably a bug in bash 2.04 Message-ID: <3A813E72.25295.91ED7B@localhost> References: <145AEC0032A AT HRZ1 DOT hrz DOT tu-darmstadt DOT de> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > Mark, was this port built with the modified version of dosexec.c or with > the stock version from djdev203.zip? A modified version of dosexec.c, but the modification makes no difference. I tested with a trivial program with 2.03 with LFN=Y and LFN=N. Note that a message will print in both cases, but the script will only run when LFN=Y. doscript.c: #include #include int main() { spawnl(P_WAIT, "script.sub", "script.sub", 0); if (errno) perror("script.sub"); return 0; } script.sub: #! /bin/sh echo "ran script.sub" It seems that when LFN=N only programs that end in .exe, .bat, .etc can be run. Mark