Re: [RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing)

"Eli Zaretskii" <[email protected]> Fri, 29 Apr 2005 10:05:28 +0300
Newsgroups gmane.comp.gdb.patches,gmane.comp.gdb.bugs.general
Message-ID <[email protected]>
> Date: Thu, 28 Apr 2005 17:18:03 -0400
> From: Daniel Jacobowitz <[email protected]>
> Cc: [email protected], [email protected]
> 
> Or using a mechanism to start other processes that takes an argument
> vector :-)

Unfortunately, that's not a magic wand, either.  Specifically, in the
case in point, $EDITOR can be a _shell_command_, not a file name of a
program.  That is, I could say

     export EDITOR="emacs -q"

and expect it to work.  This will fail with vector-argument method of
invoking subprocesses.