Hi !
I have a problem in executing a .net exe from a .net service. Its not executing the .net exe. Also its not throwing any exception in this regard. Can anyone tell me how to solve this or how to execute a .net exe from a .net service..
I have written the following code in "filesystemwatcher". Its executing the "Console.Beep()" exactly as its required to. But its not executing the exe.
Process FTPProcess = new Process();
FTPProcess.StartInfo.UseShellExecute = false;
FTPProcess.StartInfo.FileName = "<Path of the exe file>";
FTPProcess.StartInfo.Arguments = "<input parameters for the exe>";
FTPProcess.Start();
FTPProcess.WaitForExit();