help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handling of quotes by start-process


From: André A . Gomes
Subject: Handling of quotes by start-process
Date: Fri, 22 Mar 2024 17:37:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]