Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    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 Yes

MBS( "Process.IsRunning"; Process )

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" )


Process.IsFrontMost   -   Process.KeepFrontMost

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins