You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2022/06/07 00:08:00 UTC

[jira] [Closed] (CB-11743) processes started with `cordova run` eventually stalls NSLog.

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

jcesarmobile closed CB-11743.
-----------------------------
    Resolution: Won't Do

closing as won't do since the cordova-osx platform is now deprecated 

> 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: cordova-osx
>    Affects Versions: 4.0.0
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>            Priority: Major
>              Labels: triaged
>             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
(v8.20.7#820007)

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