delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Mon, 20 Sep 2004 06:19:09 +0300 |
From: | "Eli Zaretskii" <eliz AT gnu DOT org> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-ID: | <01c49ec0$Blat.v2.2.2$bde000a0@zahav.net.il> |
X-Mailer: | emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 |
In-reply-to: | <f7d84cf3.0409182241.19289d11@posting.google.com> |
(iunknown2k4 AT yahoo DOT co DOT in) | |
Subject: | Re: Problem using system( ) |
References: | <f7d84cf3 DOT 0409180201 DOT 713ca0b7 AT posting DOT google DOT com> <01c49dc8$Blat.v2.2.2$6fa7bb60 AT zahav DOT net DOT il> <f7d84cf3 DOT 0409182241 DOT 19289d11 AT posting DOT google DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: iunknown2k4 AT yahoo DOT co DOT in (anonymous) > Date: 18 Sep 2004 23:41:10 -0700 > > But, is it better to use spawn* when the extension is not known? > Or when I'm not sure if it is .exe/.com. Not in general, no. In fact, `system' will call `spawn*' for you if it can (that is how it avoids going through the shell), so you don't gain anything. `spawn*' is more flexible, but you only need that flexibility in rare cases, at least with DJGPP.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |