daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest May 16th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>> from subprocess import Popen
  2. >>> from signal import SIGKILL
  3. >>> from os import kill
  4. >>> a = Popen("gnome-terminal -- 'ping' 'google.com'", shell=1)
  5. >>> kill(a.pid, SIGKILL)
  6. >>>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top