bin/templates/scripts/cordova/lib/run.js
function runApp (appDir, appName) {
    var binPath = path.join(appDir, 'Contents', 'MacOS', appName);
    events.emit('log', 'Starting: ' + binPath);
    return spawn(binPath);
}
function runApp (appDir, appName) {
    var binPath = path.join(appDir, 'Contents', 'MacOS', appName);
    events.emit('log', 'Starting: ' + binPath);
    return spawn(binPath);
}
function runApp ( appDir , appName ) { var binPath = path . join ( appDir , 'Contents' , 'MacOS' , appName ) ; events . emit ( 'log' , 'Starting: ' + binPath ) ; return spawn ( binPath ) ; }
runs the app
@return {Promise}        Resolves when run succeeds otherwise rejects
runs the app