Let's try a sh -cl to act like a login shell.

This commit is contained in:
Jeremy Fincher 2005-02-12 07:02:47 +00:00
parent 34d20cab44
commit e8c6e6f978

View File

@ -111,7 +111,7 @@ if __name__ == '__main__':
if not foundBot:
debug('Bot not found, starting.')
cmdline = '%s --daemon %s' % (options.supybot, options.conffile)
cmdline = 'sh -cl "%s --daemon %s"'%(options.supybot, options.conffile)
ret = os.system(cmdline)
debug('Bot started, command line %r returned %s.' % (cmdline, ret))
sys.exit(ret)