X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=rI2ERYuBB4IQEq2rSMKHmry8aa8N9PoeHBIavdsHJ9VJPsV8wT+He OJswvTiFti/bWcJVPMRtRk4S11FKJtsTnWHBdaMrLtCqnw0lO7XTwgxdv0nkv3+x yEIEJP3MNyDNIlBXU0IftOBmM3c8/QaBRBpQwuWSCN6HwWNk0CL+C4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=MGPnMKMX5AQPPDNNwc3jKxZ/x9k=; b=Kiwn5x9COetes/YSplX08LhvuTGi T/IZuEy2U2ggmFEkwANrxYSXEUiP52szjh1v+Dmw2MZcslc/CBqsmDSWZtGA9LZd HLGJ2JI8mePZygnYkwXfIlNWkaLVINVP/lDDgjg5Z09oA1LMJTnmiOcybRAQ0liX 5RrGkOoHD1oxMuM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Fri, 24 Oct 2014 15:53:39 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Why can't run.exe execute a shebang script directly? Message-ID: <20141024135339.GM20607@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1414155946 DOT 62587 DOT YahooMailNeo AT web162803 DOT mail DOT bf1 DOT yahoo DOT 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) --q8dntDJTu318bll0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--