如果窗口失去焦点,程序将停止执行。为什么?
我正在 bash 终端上运行一个大型 python 脚本。问题是,每次我使用 Alt+Tab 或在终端外部单击进入另一个窗口(例如 google-chrome)时,程序都会停止执行。
然后我需要通过单击终端内部来恢复执行,将终端重新置于焦点中。
这种情况一直在发生。
可能出了什么问题?
I am running a big python script on a bash
terminal. The problem is that everytime I use Alt+Tab or click outside the terminal into another windows (Say, google-chrome), the program stops execution.
Then I need to put the terminal back in focus by clicking inside it to resume execution.
This keeps happening all the time.
What could be wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论