mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-22 02:32:42 +01:00
Let's try a sh -cl to act like a login shell.
This commit is contained in:
parent
34d20cab44
commit
e8c6e6f978
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user