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.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Shell.Wait

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 )

Parameters

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

Result

Returns OK or error.

Description

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.

Examples

Wait 5 seconds or till the tool quit:

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

See also

Example Databases

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


Shell.TerminationReason   -   Shell.WriteInputText

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins