Interface ShellQuotingOptions

interface ShellQuotingOptions {
    escape?: string | {
        charsToEscape: string;
        escapeChar: string;
    };
    strong?: string;
    weak?: string;
}

Properties

Properties

escape?: string | {
    charsToEscape: string;
    escapeChar: string;
}

The character used to do character escaping. If a string is provided only spaces are escaped. If a { escapeChar, charsToEscape } literal is provide all characters in charsToEscape are escaped using the escapeChar.

Type declaration

  • charsToEscape: string

    The characters to escape

  • escapeChar: string

    The escape character

strong?: string

The character used for strong quoting. The string's length must be 1

weak?: string

The character used for weak quoting. The string's length must be 1