SHCall
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
SHCall
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of Otter 3.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
SHCall
Calls a shell script that is stored as an asset.
Script usage:
SHCall( Name: <text>, [Arguments: <text>], [Verbose: <true/false>], [ExitCode: <integer>], [OutputLogLevel: <integer>], [ErrorOutputLogLevel: <integer>] );
This operation may be prefixed with Linux::
, although this is a built-in namespace and isn't really necessary.
Arguments:
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ Name (default) | text | Name | The name of the script asset. This argument is required. |
Arguments | text | Arguments | Arguments to pass to the script. |
Verbose | true/false | Verbose | When true, additional information about staging the script is written to the debug log. |
⇒ Exit code | integer | ExitCode | |
Output log level | integer | OutputLogLevel | |
Error log level | integer | ErrorOutputLogLevel |
Was this article helpful?