Questions tagged «shell-command»

2
运行bash脚本时出现“无法设置终端进程组”错误
我的init.el文件中包含以下两行代码: (setq shell-file-name "bash") (setq shell-command-switch "-ic") 我尝试执行以下脚本,以使用Shell脚本dmenu_path获取可执行文件列表。 (defun dmenu-path-out () (shell-command-to-string "dmenu_path")) 我看到以下错误: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell [ 0ad ... 使用时如何防止bash返回该错误shell-command?



By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.