如何杀死某个进程呢?

番茄系统家园 · 2021-08-13 07:30:22

如何杀死某个进程呢?

();

,,,,usetheKillmethod.ThebehaviorofCloseMainWindowisidenticaltothatofauserclosinganapplication'smainwindowusingthesystemmenu.Therefore,therequesttoexittheprocessbyclosingthemainwindowdoesnotforcetheapplicationtoquitimmediately.

DataeditedbytheprocessorresourcesallocatedtotheprocesscanbelostifyoucallKill.Killcausesanabnormalprocessterminationandshouldbeusedonlywhennecessary.CloseMainWindowenablesanorderlyterminationoftheprocessandclosesallwindows,soitispreferableforapplicationswithaninterface.IfCloseMainWindowfails,youcanuseKilltoterminatetheprocess.Killistheonlywaytoterminateprocessesthatdonothavegraphicalinterfaces.

YoucancallKillandCloseMainWindowonlyforprocessesthatarerunningonthelocalcomputer.Youcannotcauseprocessesonremotecomputerstoexit.Youcanonlyviewinformationforprocessesrunningonremotecomputers.

相关阅读

  • win7一键结束进程方法
  • win7 命令行强制杀死win7杀掉某进程进程
  • 如何杀死某个进程呢?
  • 免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/post/31589.html。
    猜你喜欢
    最新应用
    热门应用