Update bot.py
This commit is contained in:
parent
d0d585c7d3
commit
dbb4a732b1
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -57,7 +57,7 @@ def run_bot():
|
|||
for x in lst:
|
||||
bot = os.path.abspath(f'{botdir}{x}/bot.py')
|
||||
if os.path.exists(bot):
|
||||
p = subprocess.Popen(f'python -B {bot}', shell=False, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
||||
p = subprocess.Popen(['python', bot], shell=False, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
||||
cwd=os.path.abspath('.'))
|
||||
runlst.append(p)
|
||||
pidlst.append(p.pid)
|
||||
|
|
Reference in a new issue