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

后端 未结 4 1707
迷失自我
迷失自我 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:14

    This is just a shot in the dark, but perhaps you can try to run the Windows Service in Interactive mode. If that works, though, this can't be done in Windows Vista (because of Session 0 Isolation).

提交回复
热议问题