Answers for "how to check if an exe is running python"

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 "how to check if an exe is running python"

Python Answers by Framework

Browse Popular Code Answers by Language