From 9933250fb6196c297b548ccc4039f3c112afd2f3 Mon Sep 17 00:00:00 2001 From: Dr Date: Mon, 25 Jan 2021 09:32:14 +0800 Subject: [PATCH] Update doc/api/child_process.md Co-authored-by: Rich Trott --- doc/api/child_process.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 0458e96868601d..91965bfbd2e660 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -1256,8 +1256,8 @@ added: v0.1.90 * {integer} Returns the process identifier (PID) of the child process. If the child process -failed to spawn due to errors like command not found (`ENOENT`), the value will -be `undefined`, and `error` should emit on next tick. +fails to spawn due to errors like command not found (`ENOENT`), then the value +is `undefined` and `error` should emit on next tick. ```js const { spawn } = require('child_process');