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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Shell.Wait
Waits for child process.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
- 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
Created 11st November 2017, last changed 27th August 2018
Shell.TerminationReason - Shell.WriteInputText
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins