diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 17d54e7f7e844f..dc525792cd6953 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -469,7 +469,7 @@ grep.on('close', (code) => { ``` -Example of checking for failed exec: +Example of checking for failed `spawn`: ```js const { spawn } = require('child_process');