同步调用

1
M + ! command (shell-command)

异步调用

1
M + & command (async-shell-command)

区域调用

1
M + | command (shell-command-on-region)

elisp调用

1
2
(call-process-shell-command COMMAND &optional INFILE BUFFER DISPLAY)
help-mode C-h f  call-process-shell-command