© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
I find io-redirect as a very simple and convenient tool.
E.g. I have a util that is very wordy and I want to read all the terminal output in a file.
This is how it can be done:
Before run:
Do ##class(IORedirect.Redirect).ToFileCharacter(filename)
Run a wordy util
Stop redirect:
Do ##class(IORedirect.Redirect).RestoreIO()
Get all the output in a filename.
Perfect! Thank you!