This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
lset/run.sh

18 lines
363 B
Bash
Raw Normal View History

2022-03-11 17:01:39 -07:00
cd twitch-bot
node bot.js &
BOT_PID=$!
cd ../follow-src
python3 source.py &
SCRIPT_PID=$!
2022-03-11 23:13:00 -07:00
echo "The Twitch bot and Source script is now running. You can stop this script by typing \"stop\" or pressing ^C"
2022-03-11 17:01:39 -07:00
while read input; do
case $input in
stop) kill $BOT_PID; kill $SCRIPT_PID; break;;
esac
echo "You can stop this script by typing \"stop\""
done