Doing a ps in windows.. (Is application XYZZY running?)
Andy McKay
amckay at merlinsoftech.com
Mon Mar 25 17:42:02 EST 2002
Apart from using win32api you could install two tiny executables:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/pulist-o.asp
and one of the many versions of grep out there:
http://www.google.ca/search?hl=en&q=grep+windows&meta=
On March 25, 2002 12:54 pm, Andrew Markebo wrote:
> *blush* yeah I know.. not really.. here, only almost :-)
>
> I have the windows-compiled python 2.2, and I would like to see if
> Opera or Netscape is running on my computer (poor sod, running Win2k,
> XP or 98).. How do I do this, I suppose I could use something in the
> win32api, but what is something.. :-) ??
>
> On unix I do "ps -ef | grep netscape" ;-)
>
> /Andy
--
Andy McKay
More information about the Python-list
mailing list