From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Handling of quotes by start-process Date: Fri, 22 Mar 2024 17:43:34 +0200 Message-ID: <861q821dcp.fsf@gnu.org> References: <87h6gyjn04.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14399"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 22 16:44:15 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rnh42-0003UQ-NQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Mar 2024 16:44:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rnh3U-0004Vw-Qv; Fri, 22 Mar 2024 11:43:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnh3Q-0004UL-Pz for help-gnu-emacs@gnu.org; Fri, 22 Mar 2024 11:43:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnh3Q-0001u9-Ht for help-gnu-emacs@gnu.org; Fri, 22 Mar 2024 11:43:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=K9pBoIRp8fB67U4QeAJbR5n+VrE/oLSz/DUVWuDm3fQ=; b=qQKK1rqT/OWT2Prhk3RC EAd19NaL3zJqEIVdUA690vp+dtNEk8whe/Jm+L0utr7s2OLBMCaP44uWOP/9JJJEHZXgQEOh8L2Qc H5HEzb2IaB8pY7ey7hUo9Nf27D5KJWB+uCuV8t1X1RegD+t7h5y3FymWMtF8NuetNjJUTz0OBEKpT kvn9X/ecsj2w3fLUHVcGNr8maPgSTRnhL2bU8kGrLlqMHPiM6Z9pyb5MY4lmcVHEqEXDQvp7sCxjK yhDo44PLvZ9zkrruwUEKr+lX6tNMMmKTS7ts6eSk7/vw0pvdHj4s4MjAGgiaoygaiUPCpYeWhUmUf ZK5FRp8tCVBofw==; In-Reply-To: <87h6gyjn04.fsf@gmail.com> (message from =?utf-8?Q?Andr=C3=A9?= A. Gomes on Fri, 22 Mar 2024 17:37:47 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146160 Archived-At: > From: André A. Gomes > Date: Fri, 22 Mar 2024 17:37:47 +0200 > > Hi, > > I'm launching a process via the (valid) command below > > --8<---------------cut here---------------start------------->8--- > nix-shell -p sbcl --run 'sbcl --dynamic-space-size 3072' > --8<---------------cut here---------------end--------------->8--- > > via > > --8<---------------cut here---------------start------------->8--- > (start-process "test" (get-buffer-create "test") "nix-shell" "-p" "sbcl" "--run" "'sbcl --dynamic-space-size 3072'") > --8<---------------cut here---------------end--------------->8--- > > and it returns the error below: > > --8<---------------cut here---------------start------------->8--- > /tmp/nix-shell-13722-0/rc: line 3: sbcl --dynamic-space-size 3072: command not found > > Process test<1> exited abnormally with code 127 > --8<---------------cut here---------------end--------------->8--- > > Is this a bug or am I missing something? Thanks. I think you don't need the '..' quotes: the ".." quotes already specify a single string.