diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 09:28:59 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-16 09:28:59 (GMT) |
commit | 76d6fad87094008bc25e3b4e090fb79631414fec (patch) | |
tree | a00c8660e280838d9cd92c2885598ef01c88fd0a | |
parent | 2622f59658c42594f1efb0d767b89393de75ba0f (diff) |
Revert "Drop run command"
This reverts commit 2622f59658c42594f1efb0d767b89393de75ba0f.
-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) |