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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  


Waits for child process.

Component Version macOS Windows Server FileMaker Cloud FileMaker 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

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

Shell.TerminationReason   -   Shell.WriteInputText

Feedback: Report problem or ask question.

MBS Xojo blog