From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Mon, 3 Jul 2000 18:34:20 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: DJGPP problem executing a script Message-ID: <3960DCAC.13929.3BA35B@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com Hi guys, I received a bug report about 'perldoc' (from the perl distribution) failing because it has '#!perl' at the top. script_exec in dosexec.c turns 'perl' into 'c:\djgpp\bin/perl.exe' (depending on your installation of course). If I change script_exec to change backslashes to forward slashes before calling the selected spawn function, perldoc gets 'c:/djgpp/bin/perl.exe' and everything works. Would a patch to do this conversion be welcome or, as Eli likes to say, am I missing something? Mark