Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

2016-06-20から1日間の記事一覧

emacs lispでshellコマンドを実行する場合shell-command-to-string関数をつかう

emacs lispでshellコマンドを実行する場合shell-command-to-string関数を使います。 実際のところ curlのバージョンを文字列として表示する場合、message関数を経由して以下のようにします (message (shell-command-to-string "curl --version")) ;; curl 7.…