Hello Reddy,
I think that it's not very good idea to start process from service.
Service works in different context then your app, and can be start before
any user log on.
Try to divide starting app from service, service can inform other user's
app to start you process
RI am running process.sart to run gpg.exe to encrypt files. It's
Rworking fine with console application. When i use same code in
Rwindows service. It's not working. It's not even throwing
Rerror.Follwoing is the code i am using. Please somebody help me.
R>
RProcess p = new Process();
Rp.StartInfo.WorkingDirectory = Path;
Rp.StartInfo.FileName = fileName;
Rp.StartInfo.Arguments =arguments;
Rp.Start();
Rp.WaitForExit();
RThank You
RReddy
---
WBR,
Michael Nemtsev :: blog:
http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche