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  

Process.IsRunning

Checks if a process is running.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Process 4.0 Yes No No Yes, macOS only No
MBS( "Process.IsRunning"; Process )   More

Parameters

Parameter Description Example
Process Either a number with process ID or a process name or a bundle ID. 123

Result

Returns 0, 1 or error.

Description

Checks if a process is running.
Returns 1 if process is found in process list or 0 if not.

Examples

Check if Safari is running by name:

MBS( "Process.IsRunning"; "Safari" )

Check if Safari is running by bundle ID:

MBS( "Process.IsRunning"; "com.apple.safari" )

Blog Entries

Created 18th August 2014, last changed 18th August 2014


Process.IsFrontMost   -   Process.KeepFrontMost

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat