Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

RunTask.ReadOutputText

Reads what is in the buffer for the output stream.

Component Version macOS Windows Linux Server iOS SDK
RunTask 4.1 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No

Deprecated

This function was deprecated. Use Shell functions instead.

MBS( "RunTask.ReadOutputText" { ; Encoding } )   More

Parameters

Parameter Description Example Flags
Encoding The text encoding for result.
Default is native.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF-8" Optional

Result

Returns text or error.

Description

Reads what is in the buffer for the output stream.

For Windows this is not available, but you can start a .bat file and redirect output to a text file.
Version 7.5 introduces shell functions which offer this feature for macOS, Windows and Linux.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 13th June 2020


RunTask.ReadErrorText - RunTask.SetArguments

💬 Ask a question or report a problem