Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---/home/zenix/Desktop/hey.sh---
- echo "hello world"
- sleep 30s
- --------------------------------
- python script -->
- import subprocess, time
- process = subprocess.Popen(["gnome-terminal", "--", "bash", "hey.sh"])
- time.sleep(4)
- process.terminate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement