Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
RunTask.AddArgument
Adds the argument that should be used to launch the executable to the arguments list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RunTask | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
Deprecated
This function was deprecated. Use Shell functions instead.
MBS( "RunTask.AddArgument"; argument ) More
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
This function checks for a license.
Created 18th August 2014, last changed 13th June 2020
