Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Process.IsRunning

Checks if a process is running.

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

Parameters

Parameter Description Example value
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" )

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


Process.IsFrontMost   -   Process.KeepFrontMost

Feedback: Report problem or ask question.




Links
MBS FileMaker blog