Answers for "python check if exe was opened or ran from command line"

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 "python check if exe was opened or ran from command line"

Python Answers by Framework

Browse Popular Code Answers by Language