TCL/expect - parent hangs when child dies
I have an expect program that calls
Currently when this code is executed, the child exits gracefully and then the parent process becomes unresponsive.
Would you be at all willing to share more of the code? So as we can get a better idea of what is going on?
As for now, try passing a sleep call after you kill the child. Something like "sleep 3".
My dad does alot of Expect scripting, and he has to throw those in all over the place to keep the script from getting ahead of itself; force the program flow.
|All times are GMT -5. The time now is 02:35 PM.|