Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to ShellMBS class.
ShellMBS.Arguments as String()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
You can add arguments to this array.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Sometimes this is needed as some processes wait till stdin is closed.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Automatically done in destructor.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
ShellMBS.Execute(Executable as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Pass path to executable to run.
Opens the streams stdin, stdout and stderr.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This will check for pending event and fire events if needed.
Internally we call this with a timer for the shell object, but you can call this in a tight loop.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Queries available bytes to return all the data in the buffer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Queries available bytes to return all the data in the buffer.
ShellMBS.SetArguments(arguments() as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
ShellMBS.Terminate(WinExitCode as Integer = 255) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
ExitCode is only used on Windows.
Returns true on success.
ShellMBS.Wait(TimeOut as double = 30.0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Yields time and waits until time passed or process terminates.
ShellMBS.WriteInput(data as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Shell | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns number of bytes written.
The items on this page are in the following plugins: MBS Util Plugin.