Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 1 Jul 2001 11:17:48 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Tak Ota cc: cygwin AT cygwin DOT com, cgf AT redhat DOT com, gdb AT sources DOT redhat DOT com Subject: Re: gdb run < file In-Reply-To: <20010630.172314.42414222.Takaaki.Ota@am.sony.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/