unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "André A. Gomes" <andremegafone@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Handling of quotes by start-process
Date: Fri, 22 Mar 2024 17:37:47 +0200	[thread overview]
Message-ID: <87h6gyjn04.fsf@gmail.com> (raw)

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.


-- 
André A. Gomes
"You cannot even find the ruins..."



             reply	other threads:[~2024-03-22 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 15:37 André A. Gomes [this message]
2024-03-22 15:43 ` Handling of quotes by start-process Eli Zaretskii
2024-03-22 16:20   ` André A. Gomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6gyjn04.fsf@gmail.com \
    --to=andremegafone@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).