cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimir-kotikov <...@git.apache.org>
Subject [GitHub] cordova-lib pull request: CB-10052 Expose child process' io stream...
Date Mon, 01 Feb 2016 13:16:39 GMT
GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-lib/pull/369

    CB-10052 Expose child process' io streams via promise progress notification

    This implements [CB-10052](https://issues.apache.org/jira/browse/CB-10052).
    
    The `superspawn.spawn` promise now emits notifications, which caller can subscribe to
using `progress` method:
    
    ```
    superspawn.spawn('adb', ['devices'])
    .progress(function(data){
        if (data.stderr) console.error('"adb devices" raised an error: ' + data.stderr);
    })
    .then(function(devices){
        // Do something...
    })
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-10052

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/369.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #369
    
----
commit 5a37978e9aeeeda4f71e876299fce4358f4ed2fd
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Date:   2016-01-22T13:39:13Z

    CB-10052 Expose child process' io streams via promise progress notification

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message