Take the 2-minute tour ×

I have the following tcsh script which creates child processes:

#!/bin/csh -f
echo "In script parent.csh"
/bin/csh -f /u/allDoubts/child1.csh
echo "Dont kill after this"
/bin/csh -f /u/allDoubts/child2.csh
exit 0

This script is executed from a python code and the python code kills t his script by using the os.kill(pid,SIGKILL). However, I do not want the child script to be killed once the 2nd child process starts running (child2.csh). Can anyone please help me with this. I am still in the learning phase and would appreciate any help.

share|improve this question

Your Answer



Browse other questions tagged or ask your own question.