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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    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

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


RunTask.ReadErrorText - RunTask.SetArguments

Feedback: Report problem or ask question.