function utilExec(cmdLine) {
    var defer = Q.defer();
    shell.exec(cmdLine, function (code, output) {
        defer.resolve({ code: code, output: output });
    });
    return defer.promise;
}
function utilExec(cmdLine) {
    var defer = Q.defer();
    shell.exec(cmdLine, function (code, output) {
        defer.resolve({ code: code, output: output });
    });
    return defer.promise;
}
function utilExec ( cmdLine ) { var defer = Q . defer ( ) ; shell . exec ( cmdLine , function ( code , output ) { defer . resolve ( { code : code , output : output } ) ; } ) ; return defer . promise ; }
ret is { output: string, code: number }
ret is { output : string code : number }