unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* SBCL's run-program and environment variables
@ 2021-08-31 19:14 André A. Gomes
  2021-09-01  7:32 ` Guillaume Le Vaillant
  0 siblings, 1 reply; 3+ messages in thread
From: André A. Gomes @ 2021-08-31 19:14 UTC (permalink / raw)
  To: help-guix; +Cc: mail

Hi Guix,

Today I had the following issue and I'm wondering if other Guix users
have this problem too.

Start a SBCL REPL and run:

--8<---------------cut here---------------start------------->8---
(run-program "ls" '("-la")
             :search "/run/current-system/profile/bin"
             :environment '("TIME_STYLE=full-iso")
             :output *standard-output*)
--8<---------------cut here---------------end--------------->8---

This fails on my side, but I was told it works on other GNU/Linux
distros.  Can you reproduce it?

I find this quite strange since the following Bash works for me:

--8<---------------cut here---------------start------------->8---
TIME_STYLE=full-iso /run/current-system/profile/bin/ls -la
--8<---------------cut here---------------end--------------->8---

Thank you.


--
André A. Gomes
"Free Thought, Free World"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-01 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 19:14 SBCL's run-program and environment variables André A. Gomes
2021-09-01  7:32 ` Guillaume Le Vaillant
2021-09-01 11:39   ` André A. Gomes

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).