Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- bashCommand = "uptime"
- #output = subprocess.check_output(['bash','-c', bashCommand])
- subprocess.Popen(bashCommand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement