Node.js - Child Processes
Which of the following is the correct way to listen for errors on a child process created with
spawn?spawn?on method to listen for events like 'error'.child.on('error', callback), which is the proper syntax to catch errors.on('error') to catch errors [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions