escapeCommandArg
escapeCommandArg(
expr,dialect):string
Defined in: command/shell-dialect.ts:25
Escape a string to be safely used as a single argument of a command line written in the given dialect.
Parameters
Section titled “Parameters”string
The string to escape
dialect
Section titled “dialect”The shell language the command line is written in
Returns
Section titled “Returns”string
The escaped string