On Tue, 30 Nov 2004 15:12:34 -0600, Byrd, Payton <[EMAIL PROTECTED]> wrote: > I think the problem here isn't that the ServiceController task isn't waiting > for the service to stop, but that there is an underterminable amount of time > between when the service controller releases until all of the operation > system handles to the files have been released. I've seen this problem > before on Win2K Server, especially with IIS where I could not recompile an > object in the GAC for several minutes because some unseen thread was still > holding on to the PDB file.
That's exactly what's happening. but the problem is that there are no PDB files, the code is in release mode. I have monitered the service, processes, and threads when manually stopping the service. Windows takes some seconds after the service is stopped to acctually remove the service process from the task manager. Is there a way in Nant servicecontroller to check if the service is completely stopped or I would have to check if the service process is still running myself through a script. Hamzah ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users