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  

Process.List

Queries process list.

Component Version macOS Windows Linux Server iOS SDK
Process 11.2 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "Process.List" { ; Flags } )   More

Parameters

Parameter Description Example Flags
Flags Not yet used. Optional

Result

Returns JSON or error.

Description

Queries process list.
macOS and Windows manage processes differently, so we have same and different fields.

FieldDescription
activeWhether application is active/frontmost.
hiddenWhether application is hidden on macOS.
executableArchitectureThe architecture on macOS, e.g. X86_64 or ARM64.
bundleIdentifierThe bundle identifier on macOS.
executablePathThe file path to the application. Not available on Windows for system processes.
currentWhether this is current process.
executableNameThe name of the app.
localizedNameThe localized name on macOS for the application.
processIdentifierThe process identifier number.
numberOfThreadsThe number of threads on Windows.
parentProcessIdentifierThe parent process identifier on Windows.

Examples

Query processes

Set Variable [ $json; MBS("Process.List") ]

Release notes

  • Version 11.2

Blog Entries

Videos

Created 23th April 2021, last changed 23th April 2021


Process.KeepFrontMost - Process.LoadLibrary

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat