www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/04/18/12:05:20

Date: Thu, 18 Apr 1996 18:56:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Spawning DOS programs
In-Reply-To: <199604181210.IAA11423@delorie.com>
Message-Id: <Pine.SUN.3.91.960418184044.10956B-100000@is>
Mime-Version: 1.0

On Thu, 18 Apr 1996, DJ Delorie wrote:

> > it breaks programs that invoke inferior programs both with `spawnXX' and 
> > `system'.
> 
> Spawn, perhaps, but not system.

Currently, yes, because `system' doesn't use !proxy even for DJGPP 
programs.  But that disables long command lines in `system' which is a 
pity.  If we want long command lines in `system', we must use !proxy, and 
then it breaks.

> Which quoting will you use?  How will you know if the program will
> accept the quoting you choose?

Most programs accept quoting with '"'.  I think using it is better than
punt.  If a program doesn't understand '"', in my experience it just can't
grok arguments with embedded whitespace at all.

- Raw text -


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