Is there an equivalent of C's system(char*)
or Python's os.system(string)
for emacs --script
?
I want to use Emacs for shell-scripting purposes. However, I cannot find a function that allows running an executable in a subprocess and connectings its STDOUT/STDERR directly to the terminal.
make-process
, call-process
, start-process
, shell-command
, async-shell-command
all require a lot of additional code to forward the process output from either an intermediate Emacs buffer or by using filter functions.
I am looking for a solution that replicates the simplicity of int status = system("ls -l");
. Ideally, it should be a builtin feature of Emacs to avoid having to set up EMACSLOADPATH
.