brzpegasus / ember-cli-nwjs

An addon for building desktop apps with Ember and NW.js
MIT License
125 stars 17 forks source link

Run `nw` with `spawn` instead of `exec` to prevent buffer issues. #41

Closed brzpegasus closed 9 years ago

brzpegasus commented 9 years ago

Using require('child_process').exec to run NW.js can cause the process to crash if the app generates output that exceeds exec's default max buffer size of 200KB. Switching over to spawn solves this since there's no buffer involved.

Closes #34.