在终端中运行构建命令时,VS Code会挂起

时间:2019-10-08 18:16:23

标签: powershell visual-studio-code

每当我尝试使用集成终端构建命令或通过集成终端运行构建选项时。构建/终端将“卡住”。

这可以通过打开Powershell并运行两次timake.exe来避免。无论失败还是成功。只需调用timake.exe TWICE跳转即可在VSCode中启动终端。

这是我正在通过集成终端运行的命令:

C:/CCStudio_v3.3/cc/bin/timake.exe ./Project.pjt Debug

然后在Powershell中运行两次可解决问题,并在VSCode中跳转以启动命令:

PS C:\WINDOWS\system32> C:/CCStudio_v3.3/cc/bin/timake.exe ./Project.pjt Debug
Error: Project does not exist, cannot build project
PS C:\WINDOWS\system32> C:/CCStudio_v3.3/cc/bin/timake.exe ./Project.pjt Debug
Error: Project does not exist, cannot build project

注意:

如果我简单地运行,它将在Powershell中每次都起作用:

C:/CCStudio_v3.3/cc/bin/timake.exe ./Project.pjt Debug

0 个答案:

没有答案