Home Applications IO-Redirect

IO-Redirect

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
4.75
2 reviews
0
Awards
587
Views
415
IPM installs
2
3
Details
Releases
Reviews
Issues
Pull requests
Dependants
Rate the applicationLeave review
Evgeny Shvarov17 May, 2023
A very convenient tool

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!

Robert Cemper02 Oct, 2021
a clean package - but why?
  • the package builds and starts a clean Docker container
  • it includes a complete Unit Test and well-documented exercises.
  • the manufacturing of the package is excellent as usual.
  • my reason not to give 5 * is related to the subject itself
  • I think the whole technology used and presented here was invented with the blind desire to have objects and classes everywhere. Even if it's no improvement.
  • in fact, you can get the same results using SPOOL device #2.
  • it is there for more than 40 years and it is the grand-grandfather of global streams
Made with
Install
zpm install io-redirect download archive
Version
1.0.215 Jan, 2022
ObjectScript quality test
Category
Solutions
Works with
InterSystems IRIS
First published
03 Mar, 2021
Last checked by moderator
15 Jan, 2024Works