S
sumant
Hi
I want to start another process from a c# program running as a windows
service.
So in the procedure onstart
I have said something like this
process p= new process();
p.Startinfo.filename="abc.bat";
p.Start();
The problem is if I run the .bat file alone it runs fine ,but when i
call it from a c# service I dont know
a)where exactly it goes wrong...is there someway i can capture the
output of the bat file?
since i am running as a service the normal command window which pops
up also doesnt show.
the same thing if i run it as a normal console application then the
bat file goes along fine..
Could some one help me out on this?
Many thanks
Sumant
I want to start another process from a c# program running as a windows
service.
So in the procedure onstart
I have said something like this
process p= new process();
p.Startinfo.filename="abc.bat";
p.Start();
The problem is if I run the .bat file alone it runs fine ,but when i
call it from a c# service I dont know
a)where exactly it goes wrong...is there someway i can capture the
output of the bat file?
since i am running as a service the normal command window which pops
up also doesnt show.
the same thing if i run it as a normal console application then the
bat file goes along fine..
Could some one help me out on this?
Many thanks
Sumant