diff options
-rwxr-xr-x | commands/run | 9 | ||||
-rw-r--r-- | devbot/run.py | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/commands/run b/commands/run new file mode 100755 index 0000000..b1f76aa --- /dev/null +++ b/commands/run @@ -0,0 +1,9 @@ +#!/usr/bin/python + +import common +import sys + +from devbot import run + +common.setup() +run.run(sys.argv[1:]) diff --git a/devbot/run.py b/devbot/run.py new file mode 100644 index 0000000..c27862f --- /dev/null +++ b/devbot/run.py @@ -0,0 +1,9 @@ +#!/usr/bin/python -u + +import os + +from devbot import environ + +def run(args): + environ.setup() + os.execlp(args[0], *args) |