Skip to content

Instantly share code, notes, and snippets.

@whylovejp
Created September 21, 2012 02:57
Show Gist options
  • Save whylovejp/3759508 to your computer and use it in GitHub Desktop.
Save whylovejp/3759508 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import subprocess
while 1:
subprocess.Popen("mysql -u root mysql --password=blah", shell=True).wait()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment