Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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