a guest May 16th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- >>> from subprocess import Popen
- >>> from signal import SIGKILL
- >>> from os import kill
- >>> a = Popen("gnome-terminal -- 'ping' 'google.com'", shell=1)
- >>> kill(a.pid, SIGKILL)
RAW Paste Data