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
RunTask.AddArgument
Adds the argument that should be used to launch the executable to the arguments list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| RunTask | 4.1 | Yes | Yes | No | Yes | No |
Deprecated
This function was deprecated. Use Shell functions instead.
Parameters
| Parameter | Description | Example |
|---|---|---|
| argument | Pass one argument here. | "-v" |
Result
Returns OK or error.
Description
Adds the argument that should be used to launch the executable to the arguments list.Be aware that shell expansion does not happen and shell variables are not expanded.
Examples
Set three arguments
MBS( "RunTask.AddArgument"; "-v" )
MBS( "RunTask.AddArgument"; "-s" )
MBS( "RunTask.AddArgument"; "test.txt" )
See also
Example Databases
Created 18th August 2014, last changed 13th June 2020
RichText.WriteRTF - RunTask.GetArgument
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos