Last active
March 9, 2018 09:40
-
-
Save diggzhang/724da43102d37aa9c8e6cff10d661638 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
print("Hello1") | |
os._exit(1) | |
print("Hello2") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set -e #"Exit immediately if a simple command exits with a non-zero status." | |
touch a.txt | |
echo "touch a.txt done" | |
python3 exit_python.py | |
mongodump --db orderEventsTest | |
i # Error here | |
for i in 1 2 3 | |
do | |
echo "$i" >> a.txt | |
done | |
cat a.txt | |
echo "" > a.txt | |
echo "Hello World !" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment