www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/19/21:23:02

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: executing files
Date: Thu, 19 Dec 1996 20:17:16 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 19
Message-ID: <32BA134C.20D@cs.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961219083946 DOT 24763J-100000 AT is>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote:
> 
> This is incorrect.  `system' only calls COMMAND.COM when its argument
> turns out to be an invocation of a batch file, or of an internal command
> (like `set' or `time').  In all other cases, it does the job by itself,
> eventually calling `spawnve'.  COMMAND.COM is too dumb to let it do this
> job.  For details, see the docs of `system' in the libc reference.

Ah, thank you, Eli!  I had forgotten about this fix in the v2.01 code,
which now lets me invoke 'set' directly in DJVERIFY instead of having to
use 'command /c set'.  I just tested it and it works perfectly.  :)

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


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