以下の内容はhttps://shuzo-kino.hateblo.jp/entry/2016/06/20/231045より取得しました。


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.43.0 (x86_64-apple-darwin14.0) libcurl/7.43.0 SecureTransport zlib/1.2.5
;; Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
;; Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets



以上の内容はhttps://shuzo-kino.hateblo.jp/entry/2016/06/20/231045より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14