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

X-Recipient: archive-cygwin AT delorie DOT 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 DOT fassbender AT arcor DOT de>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
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> <4786A227 DOT 1090007 AT upb DOT de>
In-Reply-To: <4786A227.1090007@upb.de>
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

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/

- Raw text -


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