I can't find a scenario in which "ON CLOSE" works, either in a console or on TCMD. This one is closer to what I want to do.
on close taskend /f %_startpid
Regardless of where I run it, console of tab, the STARTed process continues to run after Xing the console or tab.
Is there some experiment that will let me see that "ON CLOSE" works at all, especially in a stand-alone console?