Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

Problem with TEE in v22

Aug
1,834
61
This script;
Code:
@setlocal
@echo off
ver
text > child.btm
  echo Test | tee /A/D/T child.log
endtext
call child.btm
endlocal

...works as it should under TCC 18;
Code:
c:\users\jlc\utils>parent

TCC  18.00.32 x64   Windows 7 [Version 6.1.7601]
Test

Under TCC 22;
Code:
c:\users\jlc\utils>parent

TCC  22.00.24 x64   Windows 7 [Version 6.1.7601]

...nothing is echo'd to the screen, but the child.log is created as it should be.

When I bdebugger parent.btm, and step through the script, I get;
upload_2017-11-29_4-1-18.png


...in the child.btm, where the tee command is used. The error returned is;
Code:
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   IDE.EXE
  Application Version:   22.0.24.0
  Application Timestamp:   5a1e1769
  Fault Module Name:   IDE.EXE
  Fault Module Version:   22.0.24.0
  Fault Module Timestamp:   5a1e1769
  Exception Code:   c0000005
  Exception Offset:   0000000000008b23
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:   1033
  Additional Information 1:   ba69
  Additional Information 2:   ba695a706d881cb5bdad1c619401c5c1
  Additional Information 3:   55e2
  Additional Information 4:   55e2dbba58bae829ef4ee96fbd446494

Joe
 
When I run the above script with TCC-RT;
Code:
TCC-RT  22.00.24 x64   Windows 7 [Version 6.1.7601]
2017/11/29 04:13:47.115 Test

...the Date and Time stamp, which should only be written to the child.log file, is also displayed on the screen.

If I use CMDebug v22.00.23 x64, I get the same results as with TCC-RT, but unlike bdebugger in TCC 22, I do not get the crash when stepping through the script.

Joe
 

Similar threads

Back
Top