Date: Thu, 19 Dec 1996 08:44:39 +0200 (IST) From: Eli Zaretskii To: kagel AT dg1 DOT bloomberg DOT com cc: bas AT teclink DOT net, djgpp AT delorie DOT com Subject: Re: executing files In-Reply-To: <9612181954.AA16227@quasar.bloomberg.com > Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 18 Dec 1996 kagel AT quasar DOT bloomberg DOT com wrote: > Of course this is exactly what system does except that the process the > execprog argument system uses is: "command -c myjob" rather than "myjob" > which permits myjob to be a script. 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.