可以在VS代码中停止终端
我想用Ctrl + C停止终端,但它不用停止,而是显示 ^c(gitbash)/copy Directory(CMD)。因此,我决定杀死码头。如何处理?
I want to stop terminal in VS Code with CTRL + C but instead of stopping it, it shows ^C (GitBash)/copy directory (CMD). Because of that, I decided to kill the terminal. How to deal with that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
ctrl + d
登录终端,并自动关闭它。ctrl + c
只是向该过程发送一个sigint,这通常会导致其中止,但这取决于应用程序的决定。您可以阅读有关它的更多信息在这里。
Use
Ctrl + D
to log out of the terminal, and automatically close it.Ctrl + C
just sends a SIGINT to the process, which is usually causing it to abort, but it's up to the application to decide.You can read more about it here.