Download this file
1 2 3 4 5 6 7 8 9
#!/bin/sh python "$1" echo " ------------------ (program exited with code: $?)" echo "Press return to continue" #to be more compatible with shells like dash dummy_var="" read dummy_var