Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Shell.SetArguments
Sets list of arguments to parameters of this functions.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Shell | 7.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "Shell.SetArguments"; ShellRef { ; Arguments... } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
ShellRef | The reference number from the shell. | $shell | |
Arguments... | The first argument. Please pass one parameter per argument to set. |
Optional |
Result
Returns OK or error.
Description
Sets list of arguments to parameters of this functions.Pass as many arguments as needed.
This arguments define the list of arguments passed first on each call to Shell.Execute.
This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Arguments parameter as often as you need.
Examples
Pass three arguments
MBS( "Shell.SetArguments"; $shell; "-v"; "-l"; "/Users/cs")
See also
- Shell.AddArgument
- Shell.ClearArguments
- Shell.Execute
- Shell.GetArgument
- Shell.GetArguments
- Shell.SetArgumentsList
This function checks for a license.
Created 11st November 2017, last changed 5th June 2021