无法杀死 Win XP 上的 cmd.exe 实例 [英] Unable to kill instances of cmd.exe on Win XP
问题描述
当我调试 Windows 控制台应用程序时会弹出一个新的命令提示符,并且在应用程序完成时它不会消失.我必须打开很多(实际上是 18 个),这很烦人.
以下没有帮助:
按命令提示符右上角的X"按钮.
转到任务管理器并杀死 cmd.exe.
kill/pskill 命令等
我知道最后的办法是重启机器.但我想避免这种情况.有选择吗?提前致谢.
您是否有机会使用 Visual Studio 2005 或 2008?
特定的 Windows 修补程序存在/曾经存在导致此类行为的问题,并且已经有关于此问题的线程:
http://blogs.msdn.com/b/debugger/archive/2010/03/11/help-my-console-windows-won-t-go-away.aspx>
http:///social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/e6d4a4f5-7002-401a-90e1-6174d7f9e3ca
现已提供修复程序,可从此 Microsoft 知识库文章下载:
http://support.microsoft.com/kb/982551
A new command prompt pops up when I debug a windows console application and it doesn't go away when application finishes. I have to plenty (in fact 18) of them open and it is annoying.
The following doesn't help:
Pressing "X" button on top right of command prompt.
Go to task manager and kill the cmd.exe.
kill/pskill commands etc.
I know the last resort would be to reboot the machine. But I want to avoid that. Is there a option? Thanks in advance.
Are you using Visual Studio 2005 or 2008 by any chance?
There are/were issues with a specific Windows hotfix that causes this sort of behavior, and there have been threads about this issue:
Debugged Program Window Won't Close
http://blogs.msdn.com/b/debugger/archive/2010/03/11/help-my-console-windows-won-t-go-away.aspx
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/e6d4a4f5-7002-401a-90e1-6174d7f9e3ca
A fix is available now, and can be downloaded from this Microsoft Knowledge Base article:
http://support.microsoft.com/kb/982551
这篇关于无法杀死 Win XP 上的 cmd.exe 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!