Closed brzpegasus closed 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.
require('child_process').exec
exec
spawn
Closes #34.
Using
require('child_process').exec
to run NW.js can cause the process to crash if the app generates output that exceedsexec
's default max buffer size of 200KB. Switching over tospawn
solves this since there's no buffer involved.Closes #34.