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

processes started with `cordova run` eventually stalls NSLog.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 4.0.0
    • Master
    • cordova-osx

    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

            tripod Tobias Bocanegra
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: