Hi We are spawning scp command from the tcl script. scp_client is going to defunct state which means scp_client process has finished everything and exited but still waiting for its parent process (in this case it is the tcl which has started scp_client process) to give signal. Due to this even though the scp copy is success tcl script is not terminated/exited once copy is finished. The same tcl exits fine if it is executed via CLI(Interactive mode) and all processes are terminated properly. Attached the tcl file we are using. Please let us know if anyone has solution. Here is definition of defunct/zombie process. Zombie process, also known as defunct process, is a process which is no longer in effect. A defunct process exists, when the process killed or exited using exit system call, but has yet to receive a wait call from its parent process. Defunct process occurs, if the parent process ignores the SIGCHLD. That's why the zombie process entry will be left in the process table
Subject: RE: Tcl not exiting when scp command is spanned Replied by: Yaw-Ming Chen on 21-02-2013 11:46:02 AM Hi Srikanth, The Tcl discussed in this forum is Tcl IVR API, a sepecific API for voice call. Looks like you are doing IOS Tcl.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: