System.Diagnostics.Process.Start() cannot start process when called from Windows service

后端 未结 4 1696
迷失自我
迷失自我 2021-01-06 08:56

I am trying to start an external process from a .NET Windows service. In the past I have used the Process.Start() overload that takes the executable path and a

4条回答
  •  天命终不由人
    2021-01-06 09:27

    This is very similar to this question here. The answer is usually due to security issues with the desktop and window station in which the process is being run. See this article for an explanation and some sample code.

提交回复
热议问题