Skip to content

script.shell

Allows the user to execute a shell script which has been preconfigured on the MODLR instance (via the instance config file) this can only be arranged via the support process.

js
script.shell(command)
script.shell(command)

Parameters

  • command - Name of shell command to be executed.

Example

js
script.shell("example_command_name");
script.shell("example_command_name");