[ 
https://issues.apache.org/jira/browse/CB-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816272#comment-13816272
 ] 

ASF subversion and git services commented on CB-5258:
-----------------------------------------------------

Commit 11961ff8982b4e70ae990bcfd13aae398bc0e482 in branch refs/heads/master 
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=11961ff ]

CB-5258 use exit library for process.exit

Reviewed by Bryan Higgins <[email protected]>

On Windows, if you have pending bits in pipes and you exit, they
generally do not get delivered.

To avoid this, you need to change process.exit() to something
which actually ensures that buffers are flushed before it exits,
this is handled by the 'exit' module/function.


> build / run - stdout & stderr empty on Windows
> ----------------------------------------------
>
>                 Key: CB-5258
>                 URL: https://issues.apache.org/jira/browse/CB-5258
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>            Reporter: Bryan Higgins
>            Assignee: Bryan Higgins
>             Fix For: 3.2.0
>
>
> Cordova CLI build and run commands do not show any error messages (stderr) 
> and when running in verbose mode no script output is displayed (stdout).
> I noticed this problem testing Windows 8 + BlackBerry. I'm not sure if it 
> also affects other platforms.
> Reverting from spawn to exec does not appear to fix the issue. Nor does 
> removing the call to "cmd /C" and appending ".bat".



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to