Elisp: Call Shell Command
shell-command→ call a shell command, wait for it to finish.
shell-command-to-string→ call a shell command and get its output
; call a shell command (shell-command "touch new.txt") ; call a shell command and get its output (shell-command-to-string "ls")
Call a shell command, but don't wait for it to finish before continuing, use
;; open files in Linux desktop (mapc (lambda (x) (let ((process-connection-type nil)) (start-process "" nil "xdg-open" x)) ) filePathList)
Elisp, Writing Scritpts
If you have a question, put $5 at patreon and message me.