Skip to content

Instantly share code, notes, and snippets.

@ronekko
Created June 22, 2015 03:26
Show Gist options
  • Save ronekko/39ac021a76c6d05160ad to your computer and use it in GitHub Desktop.
Save ronekko/39ac021a76c6d05160ad to your computer and use it in GitHub Desktop.
import subprocess
subprocess.Popen(['proc.bat'], creationflags=subprocess.CREATE_NEW_CONSOLE)
print "Launched a process on new console"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment