Otter Documentation

General - SHCall

  • Last Modified: 2019-07-30

This is generated from the built-in components of Otter 2.2, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your Otter instance to see exactly what operations are available.

SHCall

Calls a shell script that is stored as an asset.

Operation type:

Executing - this operation will perform a specified action or actions on a remote server.

Script usage:

SHCall(
	Name: <text>,
	[Arguments: <text>],
	[Verbose: <true/false>],
	[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.
Output log level
integer
OutputLogLevel
Error log level
integer
ErrorOutputLogLevel

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit ce197caa on master