diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 6ea104e23956c5..a834f5151e25a1 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');