2.1.3.8 Redirecting TXST Output to a File
To start and stop redirecting TXST output to a file, enter:
redirect(outputFile,[toStdOut])
stopRedirect()
You must specify the pathname of the file to which you want to redirect TXST output. You can also optionally specify whether you want TXST output to be sent to stdout; the toStdOut argument defaults to True.
For example, to redirect TXST output to the logs/txst.log file in the current directory and disable output from being sent to stdout, enter the following command:
txst:/simpapp> redirect('./logs/txst.log',False)
For more information, see redirect and stopRedirect.
Parent topic: Main Steps for Using TXST