Symptom:
A script ending in QUIT will not exit and close the window. The script will run, but at the end, it exits to the command prompt, leaving the window open. Replacing 'QUIT' with 'EXIT' will close the window.
The same script run on another PC will work as expected.
background: we have several scripts that have been in uses for some time by multiple people on multiple PCs. on this PC, they all act as described above.
TCC 31.01.22 x64 Windows 10 [Version 10.0.19045.4291]
TCC Build 22 Windows 10 Build 19045
A script ending in QUIT will not exit and close the window. The script will run, but at the end, it exits to the command prompt, leaving the window open. Replacing 'QUIT' with 'EXIT' will close the window.
The same script run on another PC will work as expected.
background: we have several scripts that have been in uses for some time by multiple people on multiple PCs. on this PC, they all act as described above.
TCC 31.01.22 x64 Windows 10 [Version 10.0.19045.4291]
TCC Build 22 Windows 10 Build 19045