• Executes the command on the runtime. Both command and its argument are sanitized (escaped) before execution.

    Returns

    Command Output: The complex object with runtime execution parameters.

    Parameters

    • cmd: string

      The command to execute.

    • sanitizeInput: boolean = true

      If true, all the input is sanitized.

    • disableStdInput: boolean = true

      (since v1.0.13) If true, standard input will be disabled for the command.

    • Optional args: string[]

      The command arguments.

    Returns ICommandOutput

Generated using TypeDoc