Hanging process when run with .NET Process.Start — what's wrong?

后端 未结 5 1047
粉色の甜心
粉色の甜心 2020-12-03 01:25

I wrote a quick and dirty wrapper around svn.exe to retrieve some content and do something with it, but for certain inputs it occasionally and reproducibly hangs and won\'t

5条回答
  •  时光说笑
    2020-12-03 01:34

    I had to drop an exe on a client's machine and use Process.Start to launch it.

    The calling application would hang - the issue ended up being their machine assuming the exe was dangerous and preventing other applications from starting it.

    Right click the exe and go to properties. Hit "Unblock" toward the bottom next to the security warning.

提交回复
热议问题