【Python】Windowsのプロセス一覧を表示する方法
import subprocess | |
cmd = 'tasklist' | |
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) | |
for line in proc.stdout: | |
print line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment