Interface ShellQuotingFunctions

Functions that provide shell quoting capabilities.

interface ShellQuotingFunctions {
    characters: {
        escape?: string;
        needQuotes?: string;
        strong?: string;
        weak?: string;
    };
    escape?(this, arg): string;
    strong?(this, arg): string;
    weak?(this, arg): string;
}

Properties

Methods

Properties

characters: {
    escape?: string;
    needQuotes?: string;
    strong?: string;
    weak?: string;
}

Type declaration

  • Optional escape?: string

    The character used to escape sequences.

  • Optional needQuotes?: string

    Characters that require quotes, white space is always implied.

  • Optional strong?: string

    The character used to quote sequences, preventing variable expansion.

  • Optional weak?: string

    The character used to quote sequences, allowing variable expansion.

Methods