X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler@upb.de>
Subject:  Re: [BUG?] run.exe and pdflatex
Date:  Fri, 11 Jan 2008 00:10:07 +0100
Lines: 37
Message-ID: <fm68kg$431$1@ger.gmane.org>
References:  <fm5sat$o04$1@ger.gmane.org> <Pine.GSO.4.63.0801101505510.8742@access1.cims.nyu.edu> <fm62p7$frr$1@ger.gmane.org> <Pine.GSO.4.63.0801101700480.8742@access1.cims.nyu.edu> <4786A227.1090007@upb.de>
Mime-Version:  1.0
Content-Type:  multipart/signed; micalg=pgp-sha1;  protocol="application/pgp-signature";  boundary="------------enig2FA3391559F134BDD94AD608"
User-Agent: Thunderbird 1.5.0.14 (Windows/20071210)
In-Reply-To: <4786A227.1090007@upb.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Note-from-DJ: This may be spam

--------------enig2FA3391559F134BDD94AD608
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

> Now i wonder, if it's already safe or if it would be possible to use
> cygwin API (for example execve) from run.exe. To fix all the issues,
> run.exe really would have to use cygwin to start the command since only
> that will resolv all the issues (analysing the shebang, following
> symlinks, etc.).

OK, we cannot use execve, right? If we would, it would open yet another
console window will be opened for the program we'd like to exec, right?

So is there any cygwin call to analyse a path? A call, that simply
returns the program to execute, the parameters to pass, etc.?

It really would really be better pass all the work (finding shebang,
etc.) to cygwin so that it's consistent.


--------------enig2FA3391559F134BDD94AD608
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhqXP7Ww7FjRBE4ARAor+AJ4rQApalgm+8dM9vrF6S/0ZQ3Y/XQCfRzCx
lTdoW5czqETaKar/we7s1Rg=
=+fPp
-----END PGP SIGNATURE-----

--------------enig2FA3391559F134BDD94AD608--

