Launching GUI App from Windows Service - Window Does Not Appear

后端 未结 5 869
情书的邮戳
情书的邮戳 2021-01-05 16:30

I have written a simple windows service which will launch a exe specified in the onstart() method of the service. After starting the service the exe got launch

5条回答
  •  天命终不由人
    2021-01-05 17:00

    Services are not interactive by definition, so you shouldn't expect any user interface elements to show when you launch an application from a service.

    It's by design...

提交回复
热议问题