Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. import subprocess
  2. bashCommand = "uptime"
  3. #output = subprocess.check_output(['bash','-c', bashCommand])
  4. subprocess.Popen(bashCommand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement