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
Reads what is in the buffer for the error stream.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RunTask | 4.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
This function was deprecated. Use Shell functions instead.
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 |
Returns text or error.
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")]
Created 18th August 2014, last changed 13th June 2020
RunTask.ProcessIdentifier - RunTask.ReadOutputText
Feedback: Report problem or ask question.