Platforms to show: All Mac Windows Linux Cross-Platform

Back to ShellMBS class.

ShellMBS.ApplicationName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The path to the application.

Can be empty when application is part of command line.
Only for Windows.
(Read and Write property)

ShellMBS.AvailableBytesError as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Queries number of available bytes on stderr.

(Read only property)

ShellMBS.AvailableBytesOutput as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Queries number of available bytes on stdout.

(Read only property)

ShellMBS.CurrentDirectory as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The current directory for the process.

You can set this before calling Execute to specify the start directory.
If this parameter is "", the new process will have the same current drive and directory as the calling process.
(Read and Write property)

ShellMBS.Domain as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The domain name.

Only used on Windows.
You can set username and password to run app with different user. Domain is optional to specify network domain.
(Read and Write property)

ShellMBS.Environment as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The environment variables to use.

(Read and Write property)

ShellMBS.ErrorCode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Last native error code.

Zero is success.
(Read only property)

ShellMBS.Executable as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The command line to run.

On Mac and Linux just the path to executable.
If applicationName is set for Windows, this should only provide parameters.
(Read only property)

ShellMBS.IsRunning as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Checks whether process is running.

Returns true if running or false if not.

The process may not terminate if there is still output data in the pipes. So please read error/stdout regularly.
(Read only property)

ShellMBS.Password as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The password.

You can set username and password to run app with different user. Domain is optional to specify network domain.
Only for Windows.
(Read and Write property)

ShellMBS.PID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The process ID of the child process.

(Read only property)

ShellMBS.ProcessHandle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
For Windows the process handle.

(Read only property)

ShellMBS.Tag as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 23.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The tag property.

You can store whatever you like in this property to read it later.
(Read and Write property)

ShellMBS.ThreadHandle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
For Windows the thread handle for the child process.

(Read only property)

ShellMBS.Username as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Shell MBS Util Plugin 19.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The user name.

You can set username and password to run app with different user. Domain is optional to specify network domain.
Only for Windows.
(Read and Write property)

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...