From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1174 invoked by alias); 24 Oct 2014 13:53:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1156 invoked by uid 89); 24 Oct 2014 13:53:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Oct 2014 13:53:41 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 266298E1434; Fri, 24 Oct 2014 15:53:39 +0200 (CEST) Date: Fri, 24 Oct 2014 13:53:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Why can't run.exe execute a shebang script directly? Message-ID: <20141024135339.GM20607@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1414155946.62587.YahooMailNeo@web162803.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q8dntDJTu318bll0" Content-Disposition: inline In-Reply-To: <1414155946.62587.YahooMailNeo@web162803.mail.bf1.yahoo.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-10/txt/msg00398.txt.bz2 --q8dntDJTu318bll0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 631 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.? >=20 > 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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --q8dntDJTu318bll0 Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUSlnjAAoJEPU2Bp2uRE+gi9wP/2MQvH0G3jzh893hdn+bAq9g UW562ivC53W/ppKlTzFYg5iEi3TOyMdeXdKuA8aHbtWiq9LQJ7VkwP5+foNSA2os ETZUw8JjEv5OhMYDo6om1lfIGnPhlIIcJ6myFjxQQIxFDrP59erUFw7CInPfh3Wr CVK65ALJuhyyiEc3SZK3l+/0Yc4qwzfWO5jwVaT6I3EdmxRBeYOXUoNfZgwgl70p 55VL4t0mKdTya+VtRNFhZ9/9uVcDAUPdzXqVvPXXE9sx81/vnWg7zyj7sQfr9pzW cNlmvMrZ6gpc49jyhcHAHxrgD1U4Uu0q/YkRkRNKWpTzYB1s9MbAjvzNmEgmWbHG 0H87PRYQdB8Wu2j3YCzmWEi/b6RHfnDFlDggzV3dVt1LdLt6UV8ogYgPZlrlyg5r wH0D0yovnoriDqxynC+UHAxrxRgbH40zCKm85mp4rXxpHLWbr2OhclM02i8LI0Yk sZC2Iw0JPRGOoyNwcvA7aSwop0zHkgqH+TSYgrd7qjiV6LtbC6LQVnXrwXMpROV0 NjZ1E87yq1cCHRyHC/vHk3Pm5A5nElIz8EOLo45tzPKPT+EP9U0lRTWILl/po3s1 4jes321/qFOpSDUZ1Nz2kz2yFe9qecS0UR9Xv2436rBSAi67cVoWywwBCaZMIN8j 19vPgv2WiYdStOSijazY =5IDF -----END PGP SIGNATURE----- --q8dntDJTu318bll0--