Skip to content

Instantly share code, notes, and snippets.

@muller
Created June 10, 2016 09:45
Show Gist options
  • Save muller/8c8957a10f7e958fe6449496e28ea34e to your computer and use it in GitHub Desktop.
Save muller/8c8957a10f7e958fe6449496e28ea34e to your computer and use it in GitHub Desktop.
from subprocess import call
PATH_TO_EXECUTABLE = "/path/to/executable"
def execute():
call([PATH_TO_EXECUTABLE])
from subprocess import call
def execute():
call(["/path/to/executable"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment