[ 
https://issues.apache.org/jira/browse/CB-11743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Bocanegra updated CB-11743:
----------------------------------
    Summary: processes started with `cordova run` eventually stalls NSLog.  
(was: processes started with `cordova run` eventually stall on NSLog.)

> processes started with `cordova run` eventually stalls NSLog.
> -------------------------------------------------------------
>
>                 Key: CB-11743
>                 URL: https://issues.apache.org/jira/browse/CB-11743
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: OSX
>    Affects Versions: 4.0.0
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: Master
>
>
> running the app with {{cordova run}} uses the {{spawn.js}} which eventually 
> executre {{child_process.spawn}}. although the stdio pipes should inherit to 
> the parent process, they somehow don't.
> when the app write a lot to stdout, eg with NSLog, then eventually the nodejs 
> buffer get full and the app blocks and gets unresponsive.
> solution:
> - avoid using {{stdio:'inherit'}} and pipe the stdios instead.
> - or figure out why inherit doesn't work



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to