LoginSignup
3
3

More than 5 years have passed since last update.

start-process でプロセスの起動ディレクトリ(current directory)を変更する方法

Posted at

default-directory に値を設定してからstart-processを呼び出す。

(defun run-dir () 
  (interactive)
  (let ((default-directory "c:/home/"))
    (start-process "dir" "*dir*" "dir")))

(run-dir)
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3