Greetings!
I have an expect program that calls
Code:
set ftpChildPID [exec trafficAux &]
then after sometime calls
Code:
exec kill -HUP $ftpChildPID
the child process (also written in TCL/expect)
Code:
trap {
set isdone 1
} SIGHUP
the intention is to send the child process a signal and allow the child to exit gracefully.
Currently when this code is executed, the child exits gracefully and then the parent process becomes unresponsive.
Any thoughts?
steve