启动资源管理器后会导致随机崩溃。 [英] Launching explorer causes random crashes afterwards.
本文介绍了启动资源管理器后会导致随机崩溃。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我这样做是为了使用特定文件夹启动资源管理器:
I am doing this to launch explorer with a particular folder:
Process Explorer = null;
Explorer = new Process();
Explorer.StartInfo.WorkingDirectory = Folder;
Explorer.StartInfo.FileName = @"C:\Windows\SysWOW64\explorer.exe";
Explorer.StartInfo.Arguments = "\"" + Folder + "\"";
Explorer.StartInfo.CreateNoWindow = false;
Explorer.Start();
Explorer.WaitForExit(1);
但是当我这样做时,它几乎导致了资源管理器在不久的将来某些时候崩溃(也许是几分钟后)
WaitForExit调用是否有问题?
或?
But when I do this it nearly results in explorer crashing at some point in the near future(minutes later perhaps)
Is it a problem with the WaitForExit call?
Or?
推荐答案
这篇关于启动资源管理器后会导致随机崩溃。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文