fix bot run

This commit is contained in:
Mike Kist 2018-05-22 12:55:52 +02:00
parent c87c34d5b4
commit 1bcc04fe94

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
python3.6 bot.py > bot-log.txt 2>&1 & python3.6 run.py > bot-log.txt 2>&1 &
nodejs foobar.js > node-log.txt 2>&1 & nodejs foobar.js > node-log.txt 2>&1 &
for job in $(jobs -p); do for job in $(jobs -p); do
echo Waiting for ${job} to terminate. echo Waiting for ${job} to terminate.
wait ${job} wait ${job}
done done