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" 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> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (iunknown2k4 AT yahoo DOT co DOT in) Subject: Re: Problem using system( ) References: <01c49dc8$Blat.v2.2.2$6fa7bb60 AT zahav DOT net DOT il> 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 Precedence: bulk > 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.