www.delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <asu1 AT cornell DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: system() with command line options |
Date: | Fri, 11 Apr 1997 20:15:18 -0400 |
Organization: | Cornell University http://www.cornell.edu |
Lines: | 21 |
Sender: | asu1 AT cornell DOT edu (Verified) |
Message-ID: | <334ED416.43A7@cornell.edu> |
References: | <2 DOT 2 DOT 16 DOT 19970411142417 DOT 3e5f5d50 AT email DOT psu DOT edu> |
Reply-To: | asu1 AT cornell DOT edu |
NNTP-Posting-Host: | cu-dialup-0049.cit.cornell.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Jonathan Swaby wrote: > > I have a program that will need to run another program with some > options. The program line looks like > success=system(test.exe -d c:\junk\); . i am assuming you actually used quotation marks around the string, otherwise this should not have compiled. anyway, did you try specifying the full path for the executable? i do not know if system inherits the path or starts with a clean one. or maybe test.exe is not in the path to begin with? -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |