[python-win32] How to determine whether program running asservice?

David Rushby davidrushby at yahoo.com
Fri Sep 10 19:42:57 CEST 2004

--- Mark Hammond <mhammond at skippinet.com.au> wrote:
> > Why not something like this:
> >   servicemanager.RunningAsService() -> bool
> Yes, I agree - see my other post :) 
> I think a simple attribute should be OK - no need for a 
> function call.

True enough, but what about symmetry with servicemanager.Debugging,
which is a function?

Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

More information about the Python-win32 mailing list