Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11743

processes started with `cordova run` eventually stalls NSLog.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: Master
    • Component/s: cordova-osx
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              tripod Tobias Bocanegra
              Reporter:
              tripod Tobias Bocanegra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: