Created
May 12, 2020 04:27
-
-
Save CliffCrerar/3737d0161402627483e0c52348c3d1a7 to your computer and use it in GitHub Desktop.
child process output callback function standard from node docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function(error, stdout, stderr){ | |
| if (error) { | |
| console.error(`exec error: ${error}`); | |
| return; | |
| } | |
| console.log(`stdout: ${stdout}`); | |
| console.error(`stderr: ${stderr}`); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment