I see.But my script will invoke a external executive application, and it will take severial minutes, so users can use TM to terminate the application process, but I expect they wait until the program exit normally. How to?