1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/python import os from devbot import environ def start(rcfile): environ.setup() bash_path = "/bin/bash" os.execlp(bash_path, bash_path, "--rcfile", rcfile)