How can i execute a shell (bash) command within a Common Lisp program and assign the output to a variable?
In sbcl:
(sb-ext:run-program "/bin/sh" (list "-c" "whoami") :input nil :output *standard-output*)
It works fine for me:)