(with-temp-buffer (apply #'call-process "/bin/bash" nil t nil '("-l" "-i" "-c" "/bin/echo $PATH")) (buffer-string)) (shell-command-to-string "/bin/bash -l -i -c \"/bin/echo $PATH\"")