Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/run.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-14 16:50:21 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-14 16:50:21 (GMT)
commit9d88d6a8c38e1a35f5749d06214f92513414ed67 (patch)
tree32a7aeb593bb30fb2d9cd7df03438118576448ad /devbot/run.py
parent66dc2e7ea7011ae63e1d404ebffeaa7782a7f2f5 (diff)
Refactor dnbuild into devbot
Diffstat (limited to 'devbot/run.py')
-rw-r--r--devbot/run.py9
1 files changed, 9 insertions, 0 deletions
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)