Skip to content

Instantly share code, notes, and snippets.

@Oh-JongJin
Created September 21, 2022 01:17
Show Gist options
  • Save Oh-JongJin/bcb9a08dc638c00e57f2ce43f021f637 to your computer and use it in GitHub Desktop.
Save Oh-JongJin/bcb9a08dc638c00e57f2ce43f021f637 to your computer and use it in GitHub Desktop.
import psutil
del killRTSP():
for proc in psutil.process_iter():
processName = proc.name()
processID = proc.pid
if processName == 'openRTSP.exe':
psutil.Process(processID).kill()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment