Answers for "check which python exe is running"

0

python check if exe is running

import subprocess

s = subprocess.check_output('tasklist', shell=True)
if "cmd.exe" in s:
    print s
Posted by: Guest on August-07-2020

Code answers related to "check which python exe is running"

Python Answers by Framework

Browse Popular Code Answers by Language