Converts a list of args into an escaped shell command.
There are two main use cases when handling command/arguments for a shell:
The createShellCommandLine
function is useful for the latter.
Standard list of spawn/exec arguments, first item is the command.
Collection of functions to process arguments.
Escape (or quote) a given input.
Input to escape.
Collection of functions to process the given arg
.
Override the quoting type specified by the given arg
.
Parses the given line into an array of args respecting escapes and string literals.
the given line to parse
Convert a signal number to its short name (using the signal definitions of the current host). Should never be called on Windows. For Linux, this is only valid for the x86 and ARM architectures, since other architectures may use different numbers, see signal(7).
Convert a code number to its short name