Wait for input streams to close (#11)
Wait for input streams to close (#11)

As seen here: https://nodejs.org/api/child_process.html#child_process_event_exit, when listening on 'exit', child process stdio streams might still be open. I am missing output because of this (randomly). So wait for the close event should fix this 😊
TooTallNate/node-applescript