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: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    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

This function checks for a paid license.

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


Process.KeepFrontMost - Process.LoadLibrary

💬 Ask a question or report a problem


Start Chat