From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19322 invoked by alias); 29 Apr 2005 07:07:45 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18406 invoked from network); 29 Apr 2005 07:07:30 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 29 Apr 2005 07:07:30 -0000 Received: from zaretski (IGLD-80-230-65-115.inter.net.il [80.230.65.115]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id EGH55105 (AUTH halo1); Fri, 29 Apr 2005 10:07:07 +0300 (IDT) Date: Fri, 29 Apr 2005 07:07:00 -0000 From: "Eli Zaretskii" To: bug-gdb@gnu.org, gdb-patches@sources.redhat.com Message-ID: <01c54c89$Blat.v2.4$f8661f80@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 In-reply-to: <20050428211803.GB17310@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 28 Apr 2005 17:18:03 -0400) Subject: Re: [RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing) Reply-to: Eli Zaretskii References: <01c54b35$Blat.v2.4$c3f52520@zahav.net.il> <20050427143620.GA1686@nevyn.them.org> <01c54b40$Blat.v2.4$be3bafe0@zahav.net.il> <20050427180410.GA19592@nevyn.them.org> <01c54c32$Blat.v2.4$26bfb1a0@zahav.net.il> <20050428204201.GA16121@nevyn.them.org> <01c54c35$Blat.v2.4$baed03c0@zahav.net.il> <20050428211803.GB17310@nevyn.them.org> X-SW-Source: 2005-04/txt/msg00416.txt.bz2 > Date: Thu, 28 Apr 2005 17:18:03 -0400 > From: Daniel Jacobowitz > Cc: bug-gdb@gnu.org, gdb-patches@sources.redhat.com > > Or using a mechanism to start other processes that takes an argument > vector :-) Unfortunately, that's not a magic wand, either. Specifically, in the case in point, $EDITOR can be a _shell_command_, not a file name of a program. That is, I could say export EDITOR="emacs -q" and expect it to work. This will fail with vector-argument method of invoking subprocesses.