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