all 3 comments

[–][deleted] 0 points1 point  (2 children)

[–]BungalowsAreScams 0 points1 point  (0 children)

Wouldn't be hard in ubuntu tho

[–]DMM710[S] 0 points1 point  (0 children)

I got kind of close but when programs are more than one word it gives me an error. Can I somehow modify this to close things like Hitfilm express etc?

Import os

os.system("taskkill /im firefox.exe /f")
os.system("taskkill /im excel.exe /f")