Skip to content

Instantly share code, notes, and snippets.

@elyssonmr
Created August 10, 2018 18:18
Show Gist options
  • Save elyssonmr/6d50836eb5fbfbd83dfbe84a7ce840fd to your computer and use it in GitHub Desktop.
Save elyssonmr/6d50836eb5fbfbd83dfbe84a7ce840fd to your computer and use it in GitHub Desktop.
python teste.py
EXEC1=$?
python teste2.py
EXEC2=$?
python teste3.py
EXEC3=$?
if [ $EXEC1 -eq "1" ] || [ $EXEC2 -eq "1" ] || [ $EXEC3 -eq "1" ]
then
echo "ooohh snap :("
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment