I am working on a Bash script shell that runs several Python scripts:
cd ${SCRIPT_PATH} python -u ${SCRIPT_NAME} ${SCRIPT_ARGS} >> $JOBLOG 2>&1
At some point, I killed the shell of the script (using kill PID ), but the Python script continued to work, even after the script was completed. I thought they would die as soon as the main script died. What I don't understand about Bash scripts, and what can I do to get the functionality I'm looking for? Thanks in advance!
source share