This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why can't run.exe execute a shebang script directly?


On Oct 24 06:05, John Wiersba wrote:
> I would have thought cygwin1.dll contains the code necessary to do this, like the linux kernel does.  Can it be added to the dll or does it have to be added to each executable individually, such as bash.exe, run.exe, etc.?
> 
>   bash$ /bin/run ./try
>   run FATAL: Could not start D:\ftp\try

run.exe doesn't start the executable via a Cygwin function, but via a
Windows call.  There's no chance for the DLL to handle shebangs.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgp3GyYJirkG9.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]