delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <39BF4C6B.2EE73921@cs.man.ac.uk> |
Date: | Wed, 13 Sep 2000 10:44:11 +0100 |
From: | Steve Chong <schong AT cs DOT man DOT ac DOT uk> |
X-Mailer: | Mozilla 4.7 [en] (WinNT; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Newbie question - how to launch dos/windows programs |
--------------25263AE9A39E45D95351B7D0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I hope someone can help me with this problem... I'm running cygwin b20 for windows and it works fine. What I'd like to do is to run latex and dvips from an existing makefile I've got to generate a postscript file. I've installed Tex which seems to work fine too when used from a DOS window. I've been experimenting with script files to try to execute the latex.exe. My script file is below: #!/bin/sh CMD='//D/Tex/bin/win32/latex.exe' exec "$CMD" & I execute this script by typing: bash-2.0$ sh testcript but I get the error message: bash-2.0$ (null):fatal Can't determine where the executable //D/Tex/bin/win32/latex.exe is. I've checked, and latex.exe definately resides in the directory //D/Tex/bin/win32. I'm able to execute other exes. For example, I can launch Kawa OK using the following script: #!/bin/sh CMD='//D/kawa3.51/Kawa.exe' exec "$CMD" & I've checked out the FAQs and archives but I'm still at a bit of a loss. If anyone could help me with a solution and perhaps a general explanation or point me to some archive/info regarding how to launch exes I would be very grateful. Thanks, Steve. --------------25263AE9A39E45D95351B7D0 Content-Type: text/x-vcard; charset=us-ascii; name="schong.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Steve Chong Content-Disposition: attachment; filename="schong.vcf" begin:vcard n:Chong;Steve tel;fax:0161 275 6236 tel;work:0161 275 6145 x-mozilla-html:FALSE org:University of Manchester;Department of Computer Science adr:;;Oxford Road;Manchester;;M13 9PL;UNITED KINGDOM version:2.1 email;internet:schong AT cs DOT man DOT ac DOT uk title:Reserach Associate x-mozilla-cpt:;-1488 fn:Dr. Steve Chong end:vcard --------------25263AE9A39E45D95351B7D0 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------25263AE9A39E45D95351B7D0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |