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?