diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-14 16:50:21 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-14 16:50:21 (GMT) |
commit | 9d88d6a8c38e1a35f5749d06214f92513414ed67 (patch) | |
tree | 32a7aeb593bb30fb2d9cd7df03438118576448ad /devbot/shell.py | |
parent | 66dc2e7ea7011ae63e1d404ebffeaa7782a7f2f5 (diff) |
Refactor dnbuild into devbot
Diffstat (limited to 'devbot/shell.py')
-rw-r--r-- | devbot/shell.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devbot/shell.py b/devbot/shell.py new file mode 100644 index 0000000..abe0695 --- /dev/null +++ b/devbot/shell.py @@ -0,0 +1,11 @@ +#!/usr/bin/python + +import os + +from devbot import environ + +def start(): + environ.setup() + + user_shell = os.environ.get("SHELL", "/bin/sh") + os.execlp(user_shell, user_shell) |