我有一个启动 cygwin bash 脚本的桌面快捷方式,我希望 mintty 终端在我的脚本终止后保持打开状态,以便我可以查看它的输出。为此,我使用-h alwaysmintty 选项[1]。
窗口确实保持打开状态,但当我的脚本终止时,mintty 无助地清除了输出(!!!)。看起来像是一个糟糕的笑话。我错过了什么吗?即使使用只有回显的一行脚本,我也验证了这种行为。
注意[1]-h在手册页中是这样描述的:
-h, --hold never|start|error|always
Determine whether to keep the terminal window open when the command has finished and no more processes are connected to the terminal.
Run Code Online (Sandbox Code Playgroud) 正如标题所说:PowerShell 5.1 和 PowerShell 7 有什么区别?
我在工作场所使用的 XP SP3 工作站突然将字体渲染更改为丑陋的字体(可能在使用 chkdsk 消息重新启动后)。如何将字体渲染设置恢复正常?
字体受影响/丑陋的工作站(上半部分)与其他字体正常的工作站(下半部分)对比截图:
