Re: [Nant-users] Service Status

2004-11-30 Thread Brad Wilson
I don't really have any problems like this, so I have to wonder what kind of work is being done after your OnStop() is being called. A locked PDB will almost always be Visual Studio (I've never seen a single app leak more file handles that VS.NET) or the debugger. On Tue, 30 Nov 2004 15:12:34 -06

Re: [Nant-users] Service Status

2004-11-30 Thread Brad Wilson
Yeah, that'll work. I'm just so used to having to provide feedback and do instant cancels that I forget that it exists... :-p - Brad On Tue, 30 Nov 2004 21:58:18 +0100, Gert Driesen <[EMAIL PROTECTED]> wrote: > Brad, the ServiceController task actually uses : > > serviceController.WaitForStatus

RE: [Nant-users] Service Status

2004-11-30 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Brad Wilson > Sent: dinsdag 30 november 2004 21:54 > To: NAnt Users > Subject: Re: [Nant-users] Service Status > > Are you waiting for the service to a

Re: [Nant-users] Service Status

2004-11-30 Thread Brad Wilson
Are you waiting for the service to actually stop? When you call ServiceController.Stop(), it's really just issuing the stop command. You'll need to loop, calling .Refresh() and then checking .Status. -Brad On Tue, 30 Nov 2004 13:36:47 -0500, Hamza Zeen-Aldin <[EMAIL PROTECTED]> wrote: > I am usin