X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4786A7FD.7000306@arcor.de>
Date: Fri, 11 Jan 2008 00:19:25 +0100
From: Dirk Fassbender <dirk.fassbender@arcor.de>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
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> <4786A227.1090007@upb.de>
In-Reply-To: <4786A227.1090007@upb.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
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

Sven Köhler schrieb:
> 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.
> 

Check the cygstart utility.
I thing it works with  symbolic links.

Dirk

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

