delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/17/04:48:02

Sender: ml AT delorie DOT com
Message-ID: <341F9746.3EB29CE4@cdata.tvnet.hu>
Date: Wed, 17 Sep 1997 10:39:34 +0200
From: Molnar Laszlo <molnarl AT cdata DOT tvnet DOT hu>
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: a patch for system()
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970914170712 DOT 20078B-100000 AT is>

Eli Zaretskii wrote:
> > Now I use 2 character set, depending on whether the shell is unixy
> > (_is_unixy_shell()). I'm currently don't handle "..." specially because
> > most of us only use this to invoke djgpp programs, which will do the
> > globbing for themself.
> No, that's wrong.  Arguments passed via `spawn' are NOT globbed by
> the child.  This was one of the significant changes in v2.01 that
> broke compatibility with v2.0.  The reason for the change was POSIX
> compliance: programs invoked through `exec' on Unix are NOT called
> via the shell, and, since globbing on Unix is done by the shell,
> arguments passed through `exec' aren't globbed.

Oops, really. It was a little unexpected to me.

Laszlo

- Raw text -


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