纳米如果我尝试在后台运行,效果很好
[~]$ nano &
[1] 739
[~]$
[1] + 739 suspended (tty output) nano
[~]$ fg
[1] + 739 continued nano
但如果我尝试跑步顶部这样就显示错误:
[~]$ top &
[1] 810
[1] + 810 suspended (signal) top
[~]$ fg
[1] + 810 continued top
top: failed tty set: Interrupted system call
我尝试了另一种方法,但还是同样的结果
[~]$ top &
[1] 832
[1] + 832 suspended (signal) top
[~]$ jobs
[1] + suspended (signal) top
[~]$ fg %1
[1] + 832 continued top
top: failed tty set: Interrupted system call
我在用着桀骜外壳上WSL(适用于 Linux 的 Windows 子系统)。如果有人可以帮助我解决这个错误,我将不胜感激。