ProcessStartInfo hanging on “WaitForExit”? Why?

前端 未结 22 2146
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-22 02:59

I have the following code:

info = new System.Diagnostics.ProcessStartInfo(\"TheProgram.exe\", String.Join(\" \", args));
info.CreateNoWindow = true;
info.Win         


        
22条回答
  •  独厮守ぢ
    2020-11-22 03:07

    None of those answers helped me, but this solution worked fine with handling hangs

    https://stackoverflow.com/a/60355879/10522960

提交回复
热议问题