从终端打开 vscode 文件挂起

Opening vscode file from terminal hangs

我运行正在使用 MacOS Catalina,我已经通过 Homebrew 安装了 visual-studio-code。当我 运行 code 命令时,我的终端无限期挂起,没有任何反应。

我已经尝试重新安装 VScode,代码命令本身,并通过 VScode UI 重新安装命令,如第二张图片所示。

如何在不挂起的情况下将代码命令发送到 运行?

code 命令调用了我没有正确安装的 python。检查 python 命令是否正确运行。