Please use the script to know details about a application that is being run
def ShowRunningApp(appName):
import os
proObj = os.popen('TASKLIST /FI "ImageName eq '+appName+'" /FI "STATUS eq running"')
runApps = proObj.read()
return runApps
print ShowRunningApp('chrome.exe')
Sample Output: