10 lines
173 B
Bash
10 lines
173 B
Bash
set +x
|
|
|
|
# capture output so we can display conditionally
|
|
INSTALL_OUTPUT=$(pip install requests)
|
|
if [[ $? > 0 ]]; then
|
|
echo "$INSTALL_OUTPUT"
|
|
exit 1
|
|
fi
|
|
|
|
python bot.py |