From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Tak Ota Cc: cygwin@cygwin.com, cgf@redhat.com, gdb@sources.redhat.com Subject: Re: gdb run < file Date: Sun, 01 Jul 2001 01:20:00 -0000 Message-id: References: <20010630.172314.42414222.Takaaki.Ota@am.sony.com> X-SW-Source: 2001-07/msg00000.html On Sat, 30 Jun 2001, Tak Ota wrote: > + char *shell = "bash -c 'exec %s %s'"; I think this will fail if the command includes the apostrophe character. And, of course, hard-wiring the shell name is not really a good idea.