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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Shell.SetArgumentsList

Sets list of arguments.

Component Version macOS Windows Linux Server iOS SDK
Shell 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Shell.SetArgumentsList"; ShellRef; List )   More

Parameters

Parameter Description Example
ShellRef The reference number from the shell. $shell
List The list of arguments. "-v¶-x¶-a"

Result

Returns OK or error.

Description

Sets list of arguments.
This arguments define the list of arguments passed first on each call to Shell.Execute.
Please pass each argument in one line and no quotes around file paths.

Examples

Sets list of arguments:

Set Variable [ $s; Value: MBS( "Shell.SetArgumentsList"; $shell;

"-i" & ¶ &
$inputPath & ¶ &

"-o" & ¶ &
$outputPath & ¶ &

"-v" & ¶ &

"-l" & ¶ &
"5"

  ) ]

See also

Example Databases

This function checks for a license.

Created 11st November 2017, last changed 18th December 2022


Shell.SetArguments - Shell.SetBufferSize

💬 Ask a question or report a problem