X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4786A227.1090007@upb.de>
Date: Thu, 10 Jan 2008 23:54:31 +0100
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler@upb.de>
User-Agent: Thunderbird 1.5.0.14 (Windows/20071210)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [BUG?] run.exe and pdflatex
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>
In-Reply-To: <Pine.GSO.4.63.0801101700480.8742@access1.cims.nyu.edu>
Content-Type: multipart/signed; micalg=pgp-sha1;  protocol="application/pgp-signature";  boundary="------------enig18B7B0368276BE6C02CC7C30"
X-Virus-Status: Clean
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

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

I just tried to run pslatex (which is a shell-script) with run.exe.

And actually, it won't run. There is a box saying "Error: could not
start c:\cygwin\bin\pslatex". Well, it's not an exe-file. It's basically
a textfile to windows. Hence the error, i guess.


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.).

Just modifying the CreateProcess won't do.
Or we would have to rewrite all the shebang/symlink stuff ourselves
which is error prone.


--------------enig18B7B0368276BE6C02CC7C30
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

iD8DBQFHhqIn7Ww7FjRBE4ARAt1tAKDYEzFh1zxmximxt5Wy3G2mcGC0qQCgmGBY
cIXZrCu05P9DkV7zrbtB+y4=
=lu/G
-----END PGP SIGNATURE-----

--------------enig18B7B0368276BE6C02CC7C30--
