I want to run a console application from windows service using threading and want to pass a string as a argument.
Thread t =new Thread(new ThreadStart(() => ThreadFunction())); t.Start();
ThreadFunction() { Process p.StartInfo = new ProcessStartInfo("Prog.exe"); p.Start(); }
Thanks in advance!