cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From filmaj <>
Subject [GitHub] cordova-lib pull request #525: CB-12557: superspawn now returns both stdout ...
Date Thu, 09 Mar 2017 15:54:39 GMT
GitHub user filmaj opened a pull request:

    CB-12557: superspawn now returns both stdout and stderr in reject handler

    Please review @stevengill and @audreyso. 
    ### Platforms affected
    ### What does this PR do?
    This solves [CB-12557](
    Some programs pump output to both stdout and stderr when exit codes are non-zero (i.e.
`android`). It would be nice to get access to both streams in the reject handler.
    In particular, to solve the suite of new issues arising from the updated Android SDK Tools
in 25.3.1 ([CB-12554](, we need to detect
when the `android` command exits with a non-zero status code _and_ contains particular language
in `stdout`. This change to `superspawn` allows for that level of introspection.
    ### What testing has been done on this change?
    Ran `npm test` on master branch, all tests pass. Then ran `npm test` on this branch, which
includes a new test covering this case, all tests pass.
    ### Checklist
    - [X] [Reported an issue]( in the JIRA
    - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [X] Added automated test coverage as appropriate for this change.

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

    $ git pull CB-12557

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

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

    This closes #525
commit c744fafc6ffc985cf80f0abb2fa799111331a07f
Author: filmaj <>
Date:   2017-03-09T15:18:34Z

    CB-12557: add both stdout and stderr properties to the error object passed to superspawn
reject handler.


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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message