Skip to content

Instantly share code, notes, and snippets.

@luser
Created February 26, 2015 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luser/6d827d3e0464fc6fed55 to your computer and use it in GitHub Desktop.
Save luser/6d827d3e0464fc6fed55 to your computer and use it in GitHub Desktop.
import mozprocess
p = mozprocess.ProcessHandler(['/tmp/test.sh'])
p.run()
p.wait()
#!/bin/bash
i=0
while true; do
echo $i
(( i += 1 ))
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment