Check a windows service

awel albert.wellens at gmail.com
Tue Jan 16 17:17:51 EST 2007


Sorry, but could you give me an example with a real service 'cause I've
tried this script but nothings happened, no error, nothings ; even if I
launch it in cmd prompt.

Thanks

Tim Golden a écrit :
> awel wrote:
>
> > I'm new in python and I would like to know if it's possible to check if
> > a specific windows service is present and if it's possible how can I
> > do?
>
> This is one way:
>
> http://tgolden.sc.sabren.com/python/wmi_cookbook.html#automatic_services
>
> You'd have to change that example slightly, but I
> hope the principal is clear enough. If not, ask again.
> 
> TJG




More information about the Python-list mailing list