Why can't run.exe execute a shebang script directly?
Eric Blake
eblake@redhat.com
Fri Oct 24 15:26:00 GMT 2014
On 10/24/2014 09:19 AM, John Wiersba wrote:
> I thought that all (or virtually all) cygwin-supplied programs that start
> other programs use the cygwin1.dll execve(2) emulation to start them, because
> the execve emulation can be used to start *both* cygwin programs and windows
> native programs. Or at least it seems that way to me.
>
> Is there be in drawback to having run.exe start its target program using
> the execve emulation in cygwin1.dll, rather than using a Windows call to
> start the target executable?
run.exe is special. In order to hide consoles, it MUST use native
windows API instead of cygwin1.dll calls.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141024/837c4c0e/attachment.sig>
More information about the Cygwin
mailing list