I've run into a problem using sb-ext:run-program that probably has
something to do with environment setup but has me stumped.
Yet, from an xterm I can type this command:
ssh rh@... 'DISPLAY=:0 srot capture.png'
And it works fine.
But When I try this from the REPL I get:
(sb-ext:run-program "ssh" '("rh@..." "'DISPLAY=:0 scrot
:output *standard-output* :search t :wait t)
bash: DISPLAY=:0 scrot capture.png: command not found
#<SB-IMPL::PROCESS :EXITED 127>
And yet, this works as expected:
(sb-ext:run-program "ssh" '("rh@..." "'ls'") :output
*standard-output* :search t :wait t)
Any ideas what's going on and how to make it work? I've tried a few
things with the :environment parameter w/o success.