1 2 3 4 5 6
#!/usr/bin/python import os import sys os.execvp('dbus-launch', ['dbus-launch', 'supervisord', '-c'] + sys.argv[1:])