0
有什么办法让Emacs Shell-Mode在收到它时显示输出,而不是等待前面的命令完成?显示在Emacs Shell模式下收到的stdout
例如:
python -c "import time; print 'hello'; time.sleep(3); print '...goodbye'"
将暂停3秒钟,然后打印“你好”和“再见......”在同一时间。我试图让它打印出“你好”,等待三秒钟,然后打印“......再见”。
我在Windows 7上运行的Emacs 25.0.93.1
sys.stdout.flush()完美工作,谢谢! – nslamberth