public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Why can't run.exe execute a shebang script directly?
Date: Fri, 24 Oct 2014 13:53:00 -0000	[thread overview]
Message-ID: <20141024135339.GM20607@calimero.vinschen.de> (raw)
In-Reply-To: <1414155946.62587.YahooMailNeo@web162803.mail.bf1.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

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 #2: Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2014-10-24 13:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 13:08 John Wiersba
2014-10-24 13:50 ` Andrey Repin
2014-10-24 14:57   ` Warren Young
2014-10-24 13:53 ` Corinna Vinschen [this message]
2014-10-24 13:57   ` Eric Blake
2014-10-24 14:52     ` Warren Young
2014-10-24 15:22   ` John Wiersba
2014-10-24 15:26     ` Eric Blake
2014-10-24 16:43       ` John Wiersba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141024135339.GM20607@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).