Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Waits for child process.

Component Version macOS Windows Linux Server iOS SDK
Shell 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Shell.Wait"; ShellRef; Timeout )   More


Parameter Description Example
ShellRef The reference number from the shell. $shell
Timeout The timeout in seconds on how long to wait. 3


Returns OK or error.


Waits for child process.
This blocks FileMaker for doing anything till the app is done or timeout happens.

Please use 8.2 or newer on FileMaker Cloud as Shell.Wait/Shell.IsRunning was broken there before.


Wait 5 seconds or till the tool quit:

Set Variable [ $s ; Value: MBS( "Shell.Wait"; $shell; 5) ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 11st November 2017, last changed 27th August 2018

Shell.TerminationReason - Shell.WriteInputText