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: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

RunTask.ReadErrorText

Reads what is in the buffer for the error stream.

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

Deprecated

This function was deprecated. Use Shell functions instead.

MBS( "RunTask.ReadErrorText" { ; 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 error stream.

Examples

Read version of python:

Set Variable [$r; Value:MBS( "RunTask.NewTask" )]
Set Variable [$r; Value:MBS( "RunTask.SetLaunchPath"; "/usr/bin/python" )]
Set Variable [$r; Value:MBS( "RunTask.SetArguments"; "-V")]
Set Variable [$r; Value:MBS( "RunTask.Launch")]
Pause/Resume Script [Duration (seconds): ,1]
Show Custom Dialog ["Version"; MBS("RunTask.ReadErrorText"; "UTF8")]

See also

Example Databases

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


RunTask.ProcessIdentifier - RunTask.ReadOutputText

Feedback: Report problem or ask question.


Start Chat