我在终端emacs内。
我想在前台运行游侠。
但是,以下代码不起作用:
(call-process" / usr / bin / ranger")
注意,我不希望emacs模拟游侠的pty(例如,ansi-term)。我希望游侠在我的真实pty中运行,即我的emacs所在的那个。
答案 0 :(得分:1)
I'm not sure if what you want is possible. Normally you'd do M-x suspend-frame
, which will drop you to the shell, run whatever program, and then fg
to bring back Emacs. You might be able to do this with something like tmux or screen, but I'm not very familiar with them.