delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/10/17:55:32

X-Recipient: archive-cygwin AT delorie DOT 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 AT upb DOT de>
User-Agent: Thunderbird 1.5.0.14 (Windows/20071210)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [BUG?] run.exe and pdflatex
References: <fm5sat$o04$1 AT ger DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0801101505510 DOT 8742 AT access1 DOT cims DOT nyu DOT edu> <fm62p7$frr$1 AT ger DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0801101700480 DOT 8742 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0801101700480.8742@access1.cims.nyu.edu>
X-Virus-Status: Clean
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019