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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
RunTask.ReadErrorText
Reads what is in the buffer for the error stream.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| RunTask | 4.1 | Yes | No | No | Yes, macOS only | No |
Deprecated
This function was deprecated. Use Shell functions instead.
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
- RunTask.Launch
- RunTask.NewTask
- RunTask.ReadOutputText
- RunTask.SetArguments
- RunTask.SetLaunchPath
- Version
Example Databases
Created 18th August 2014, last changed 13th June 2020
RunTask.ProcessIdentifier - RunTask.ReadOutputText
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins