Re: [RFC] win32-nat.c: Improve handling of 'set shell on'

Eli Zaretskii
2008-01-09T18:56:27Z

> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> Date: Wed, 9 Jan 2008 10:04:35 +0100
>
> I recently discovered that if you use
> 'set shell on' on cygwin native, there are
> some specific problems that appear.
>
> I ran the testsuite with a single line
> modified:
> -static int useshell = 0; /* use shell for subprocesses */
> +static int useshell = 1; /* use shell for subprocesses */
> Which made the use of shell to start the subprocess
> the default.

Is this really appropriate for the native Windows port of GDB as well
as for Cygwin? If not, we should set this only conditionally, I
think.