Alex Carney

Emacs Sub Processes

Something that’s quite useful in Emacs is the ability to start a running process in the background. This can be done with the start-processfunction. Examples We can set the directory to run in by wrapping the call to start-process in a let expression that sets the default-directory variable. (let ((default-directory "~/Projects/blog")) (start-process "hugo" "hugo[blog]" "hugo" "server" "--buildDrafts" "--buildFuture")) There’s a lot of mentions of hugo here let’s break this down a bit More...