• Sanitizes (escapes) special characters in the command and its arguments.

    Returns

    The sanitized and concatenated command with arguments.

    Parameters

    • cmd: string

      The command to be sanitized.

    • sanitizeInput: boolean = true

      If true, all the input is sanitized.

    • Optional args: string[]

      The command arguments to be sanitized.

    Returns string

Generated using TypeDoc