delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/13/14:02:39

Message-ID: <68C4CF842BD2D411AC1600902740B6DA02CDC5A4@mcoexc02.mlm.maxtor.com>
From: "Dykstra, Sean" <Sean_Dykstra AT maxtor DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Various spawns
Date: Thu, 13 Sep 2001 11:59:19 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Reply-To: djgpp AT delorie DOT com

Hello all!

I have discovered a slightly bizarre behaivoir in the spawn/system commands,
when smartdrv is NOT loaded into memory.

If I boot to a DOS system without smartdrv loaded, any spawn command I issue
with parameters is very slow.

However, if I do not pass any parameters, I get to the DOS prompt very
quickly and then can issue DOS commands very quickly.

Examples:
//FAST code
system ("");

//SLOW code
system ("dir");  

I get the same response using spawnlp and spawnvp.  Any thoughts?

- Raw text -


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