Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RE: win32 process information, using win32 extension

Reply
Thread Tools

RE: win32 process information, using win32 extension

 
 
Tim Golden
Guest
Posts: n/a
 
      10-21-2005
[Java and Swing]

> i need to get information about the processes
> running on a windows pc (98, 2k, xp)


> i can get the pid's using, win32process.EnumProcesses()
> but how can i get the name of the process, path
> to process, etc.


You can probably do what you want with WMI. You'll have to
make sure to install Microsoft's WMI pack (or whatever it's
called) on the Win98 machines:

http://timgolden.me.uk/python/wmi_co...ning_processes

TJG

__________________________________________________ ______________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
__________________________________________________ ______________________
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
win32/process Process.create failure Mike Stead Ruby 3 03-25-2010 01:15 AM
Win32/Process when create a process, how to pass data Qi Lu Ruby 0 07-14-2008 07:38 PM
win32 process information, using win32 extension Java and Swing Python 1 10-24-2005 09:13 PM
(Win32) Timing out a process while reading process' output? rtm Perl 0 09-27-2004 10:06 PM
Unload extension modules when python22.dll unloads... [using C extension interpreter] Anand Python 3 11-08-2003 05:50 AM



Advertisments