TCEXIT not executed if I X the console

May 20, 2008
11,529
102
Syracuse, NY, USA
In v24, TCEXIT.BTM is not executed if I X the console (but it is if I EXIT). In v16 it is executed if I X the console.
 
May 20, 2008
11,529
102
Syracuse, NY, USA
Unreproducible, and seems improbable (that code hasn't changed in years).

What does "echo %_tcexit" show?
I have:
Code:
v:\> echo %_tcexit
G:\TC24\TCEXIT.BTM

v:\> type %_tcexit
ECHO TCEXIT
BEEP

If I EXIT, I see the text and hear the sound. If I X the console ... neither.
 
May 20, 2008
11,529
102
Syracuse, NY, USA
OK, never mind. It's failing because I'm closing the TCC.EXE class window. I think I noticed the same thing before ... did nothing ... and forgot about it.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica TCSTART and TCEXIT not executed Support 7
wbiebel Can this be possible: TCEXIT is not executed? Support 21
gentzel Directory stack empty when running TCEXIT? Support 9
B IF command problem in tcexit.btm Support 9
J WAD Output redirection in tcexit looses data Support 31
vefatica _CMDLINE in TCEXIT (only sometimes) Support 16
fpefpe Documentation tcexit Support 1
T How to? sort history in tcexit.btm Support 22
D Internal variable _tctabs within TCExit Support 9
T TCEXIT sometimes not called in TCMD Support 0
C TCEXIT not called since TCC v9 Support 5
MickeyF Why doesn't my python program get executed without specifying its path? Support 2
dcantor How to? Batch file to be executed by TCSTART Support 4
B How can a user know the last 'true command' executed Support 1
vefatica WAD PRE_EXEC executed before PROMPT2 Support 5
M Flickering of title when command is executed Support 5
M Ctrl-End doesn't work. DelToEnd is not executed Support 13
M Mysteriously to me TCStart.btm is not being executed... Support 2
M "History" command not giving me what I want when executed by @Exec... functions... Support 6
vefatica Console not redrawn in BTM or with multiple commands Support 4
vefatica ShutdownPlugin not called when I X the console? (just curious) Support 4
vefatica Console popup windows don't work correctly Support 0
vefatica Cancelling selection in the console? Support 7
G Console exe up / down history Support 8
vefatica Console cursor height in Win 10 Support 3
vefatica BTM, elevated, console window caption? Support 4
vefatica TYPE resets console tab settings Support 14
vefatica Undesired scrolling in Windows 10 enhanced console. Support 2
L WAD In console, tabs are rendered with non-uniform tab-stop spacing Support 16
P No linefeed on last line of console window Support 2
fishman@panix.com TCC v22 & the Windows 10 Console Support 5
C TCMD not hiding the console Support 1
jaltman tcmd 21.0.19 win10 16179 console window loses content Support 2
vefatica Console output slower that before Support 8
L Fixed console line length in Take Command 19? Support 3
P Color directories in Win10 build 10586 console Support 11
Mordachai How to capture all console output from a TCMD session? Support 4
I Windows 10 console does not allow alt-F4 alias to complete Support 1
M Console-Mode (*.exe) works in TCC, not in TCMD Support 2
vefatica ON CLOSE, GOTO, and X-ing the console Support 5
I Attach console Support 3
C Screens of different size and hidden console Support 8
G Bug? TCC 16.03.55 Console Palette Support 4
C TCMD: Problem attaching console Support 4
vefatica OT: Windows console history? Support 7
D Console window titles / tab caption Support 4
vefatica ON <closing the console> Support 5
J Screen Capture (Console Mode) Support 5
vefatica Complete console caption as TCMD's caption? Support 1
Mordachai How to get a TC interface instead of a console for .btm, .bat, ? Support 10

Similar threads