Advertisement
Guest User

Untitled

a guest
Apr 7th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. ---/home/zenix/Desktop/hey.sh---
  2. echo "hello world"
  3. sleep 30s
  4. --------------------------------
  5. python script -->
  6. import subprocess, time
  7. process = subprocess.Popen(["gnome-terminal", "--", "bash", "hey.sh"])
  8. time.sleep(4)
  9. process.terminate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement