daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from subprocess import Popen,PIPE
  2.         command='who'
  3.         command ='"'+command+' '+';read -n1" '
  4.         subitem = Popen(['gnome-terminal','--disable-factory','-x','bash','-c',command],stdin =PIPE)
  5.         subitem.communicate(input='your command')
RAW Paste Data
Top