This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Inferior command line arguments
On Fri, Sep 28, 2001 at 06:25:35PM +0200, Eli Zaretskii wrote:
>> I did this based on some readings I found via a google search. I
>> really know very little about Windows. Does this approach sound
>> reasonable?
>
>That is correct AFAIK, but there are complications: the case where the
>embedded quote is already preceded by a backslash, and the case where
>the argument that needs to be wrapped in quotes ends in a backslash.
>And running Cygwin applications needs yet another modification. For
>the full story, see the function sys_spawnve on w32proc.c in the Emacs
>distribution.
I am not sure why cygwin would need more modifications. We try to emulate
the standard arcane Windows quoting rules.
Could you elaborate?
cgf