exe? (yes, I have seen so-called "locked
down" machines with a "program black list" that were that stupid)
Worth a try! :-)
And then you could rename ssh.exe to explorer.exe, perl.exe to java.exe
or something funny like that...
J-S
--
_____
sterday, with the same results. It would
seem (from what I can understand) that c.ExecQuery() just makes a list
of proxy objects, and that when you call Count on the set, it has to
create them all for real and that's where it fails when reaching the
"bad" service.
Thanks again, loo
have no problem with trying out other
suggestions.
Thanks a lot, just by your small scripts I've already learned a lot more
about Python!
J-S
--
___
Jean-Sébastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
--
http://mail.python.org/mailman/listinfo/python-list
very glad to address it.
>
>
Not at all, this is a small project I'm using to try and learn Python...
I'm currently on summer break before I start my Masters, so I have the
luxury of keeping this on the back burner until I find a fix... Thanks
for your help!
J-S
--
___
Jean-Sébastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
--
http://mail.python.org/mailman/listinfo/python-list
there any reason why whitespace between the method
name and parameter list parentheses isn't good? Because the code I
posted before was copy-pasted from Tim Golden's site
(http://tgolden.sc.sabren.com/python/wmi.html) and the spaces were there.
Thanks,
J-S
--
______
= wmi.WMI ()
for s in c.Win32_Service ():
if s.State == 'Stopped':
print s.Caption, s.State
gives me the same result as above.
Could someone please point me in the right direction to find out what's
wrong?
Thanks in advance,
J-S
--
___