gpt4 book ai didi

windows - Powershell ISE 在终止进程时卡住

转载 作者:可可西里 更新时间:2023-11-01 12:40:26 25 4
gpt4 key购买 nike

我遇到过一些情况,当您尝试使用 Ctrl+C 终止进程时,powershell ISE 会卡住。我仍然可以在控制台上移动光标,但状态停留在“正在停止”。

这已经发生在几个命令中,但我注意到一个特定的命令一直在发生这种情况

mvn jasmine:bdd

此命令运行一个启动码头服务器的 Maven 插件。我可以使用 Powershell 控制台中的 Ctrl+C 来停止它,但不能使用 Powershell ISE。这是否与 Powershell ISE 无法运行交互式命令有关?

现在我的解决方法是在另一个进程中“启动”maven。还有其他人遇到类似的问题吗?

谢谢

最佳答案

我在提到这个问题时为 Powershell 团队打开了案例。

https://github.com/PowerShell/PowerShell/issues/7970

似乎推荐的方法是将 VS Code 与 Powershell 结合使用。

这也可以帮助 https://learn.microsoft.com/en-us/powershell/scripting/core-powershell/vscode/using-vscode?view=powershell-6

关于windows - Powershell ISE 在终止进程时卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18261124/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com