18 December 2014

The execute command can be used to execute a command on Corrade's host operating system. After the command is executed, Corrade returns the standard output in the key output and the standard error in the key error.

Note that this command is protected by the separate execute permission and you should be very careful to what group you grant this permission because they will have full-access to the entire file-system where Corrade is hosted.

CommandRequired ParametersRequired Corrade PermissionsExample
executegroup, password, fileexecute
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Show ipconfig information under Windows
            "command", "execute",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "file", "cmd.exe",
            "parameter", "/C ipconfig",
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional ParameterDescription
parameterThe parameters passed to the command in file.

Notes