Skip to content

Instantly share code, notes, and snippets.

@n0mimono
Created June 4, 2015 04:46
Show Gist options
  • Save n0mimono/1005ac369ca8719a504f to your computer and use it in GitHub Desktop.
Save n0mimono/1005ac369ca8719a504f to your computer and use it in GitHub Desktop.
Call command via python
#!/usr/bin/python
# -*- coding: utf-8 -*-
from subprocess import call
import sys
if __name__ == '__main__':
call(sys.argv[1:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment