src/cordova/info.js
function execSpawn(command, args, resultMsg, errorMsg) {
    return superspawn.spawn(command, args).then(function(result) {
        return resultMsg + result;
    }, function(error) {
        return errorMsg + error;
    });
}
function execSpawn(command, args, resultMsg, errorMsg) {
    return superspawn.spawn(command, args).then(function(result) {
        return resultMsg + result;
    }, function(error) {
        return errorMsg + error;
    });
}
function execSpawn ( command , args , resultMsg , errorMsg ) { return superspawn . spawn ( command , args ) . then ( function ( result ) { return resultMsg + result ; } , function ( error ) { return errorMsg + error ; } ) ; }
Execute using a child_process exec, for any async command
Execute using a child_process exec for any async command