delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/01/04:20:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tak Ota <Takaaki DOT Ota AT am DOT sony DOT com>
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: <Pine.SUN.3.91.1010701111625.20826D-100000@is>
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019