Mail Archives: djgpp-workers/1997/09/17/04:48:02
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 -