Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Shell.Wait
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
Parameters
Parameter | Description | Example |
---|---|---|
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
Blog Entries
- Convert Office Files in FileMaker
- Tip of the day: Shell Execute as one Let statement
- Run fmsadmin from script
- Convert office documents to PDF with LibreOffice
- Tips for FileMaker Data Migration Tool
- Execute defaults command with Shell functions
- Convert to MP3 with new Shell commands and ffmpeg
This function checks for a license.
Created 11st November 2017, last changed 27th August 2018