I want run an EXE file from a windows service using C# , I'm using this code in OnStart() service's method.
Process myProc = new Process();
myProc.StartInfo.FileName = "...\\MyExe.exe";
myProc.Start();
MyExe.exe
is a simple console application that launch a console with some text.
When I start my windows service I can see that MyExe.exe
is in background processes, but there is no console shown on desktop.
What can be wrong ?