I have a wrapper script done in perl which runs the program (blastall) with backticks. I use backticks to make sure that any errors get passed ahead. However the program I'm running seems to ignore signal sent by wrapper script, when wrapper receives SIGTERM. So how can i know what pid my child program has, so that i can make a signal handler to send it a SIGKILL when my wrapper gets SIGTERM?
Update: typo fixing.