Hi,
Set Propertise of Service installer class properly.
On Mon, Apr 27, 2009 at 10:39 AM, [email protected] <
[email protected]> wrote:
>
> Hi,
>
> I have created a windows service which contains a fileSystemWatcher.
> In the created event of file watcher, i am trying to start a console
> application...as below..
> Process p = new Process();
> p.StartInfo.Arguments = (arg.Replace("\\",
> "/").Replace(" ", "*"));
> p.StartInfo.WindowStyle =
> ProcessWindowStyle.Normal;
> p.StartInfo.FileName = _appPath;
> Boolean processStarted = p.Start();
>
> The problem iam facing is.. The process after starting is getting
> killed within 5 secs of time. I dont know why its happening like that.
> The console app contains code that has some IO operations, etc.
>
> Please help me..Thanks in Advance..
>
> Ram.
>
--
Thanks & Regards
Dnyaneshwar Bhamare
Mob:9420495604