hey all good morning ....
im trying to run this command on my system that get my running process in the system
i need to put them in a list then search in the list if u found any of this process ( "chrome.exe" , "firefox.exe" , "opera.exe" , "iexplorer.exe" , "MicrosoftEdgeCP.exe" ) print ("found" + "the name of process found") !!
how i can do that ?
im trying to run this command on my system that get my running process in the system
import os d = os.popen("""wmic process get name | findstr /v "Name 'System Idle Process' System""").read().strip() print d #q = ["chrome.exe" , "firefox.exe" , "opera.exe" , "iexplorer.exe" , "MicrosoftEdgeCP.exe" ]the output for the command is like this :
Quote:chrome.exe
chrome.exe
chrome.exe
chrome.exe
Microsoft.Photos.exe
svchost.exe
RuntimeBroker.exe
chrome.exe
ApplicationFrameHost.exe
WinStore.App.exe
RuntimeBroker.exe
MicrosoftEdge.exe
browser_broker.exe
i need to put them in a list then search in the list if u found any of this process ( "chrome.exe" , "firefox.exe" , "opera.exe" , "iexplorer.exe" , "MicrosoftEdgeCP.exe" ) print ("found" + "the name of process found") !!
how i can do that ?