lib/utils/command.js
function escapeShellArg(value) {
    if (is.number(value)) {
        return value;
    }

    value = String(value);
    value = value.replace(/"/g, '\\"');

    return '"' + value + '"';
}
function escapeShellArg(value) {
    if (is.number(value)) {
        return value;
    }

    value = String(value);
    value = value.replace(/"/g, '\\"');

    return '"' + value + '"';
}
function escapeShellArg ( value ) { if ( is . number ( value ) ) { return value ; } value = String ( value ) ; value = value . replace ( / " / g , '\\"' ) ; return '"' + value + '"' ; }
Transform an option object to a command line string

@param {String|number} value
@param {String}
Transform an option object to a command line string