Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gmmastros on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to see if a process is running on a Win32 box?

Status
Not open for further replies.

d1trupinoy

Technical User
Dec 11, 2001
14
0
0
US
Can someone share some python code that sees if a process is running? example:

If notepad.exe is running on box then
return 1 (or kill notepad)
else
return 0


Thanks. newbie to python here
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top