From e8c6e6f978ce22a66f5e39cb950d23db349ffe45 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 12 Feb 2005 07:02:47 +0000 Subject: [PATCH] Let's try a sh -cl to act like a login shell. --- scripts/supybot-botchk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/supybot-botchk b/scripts/supybot-botchk index 1f522b93b..6cd9f0178 100644 --- a/scripts/supybot-botchk +++ b/scripts/supybot-botchk @@ -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)