Skip to content

Commit 8613297

Browse files
committed
tweaks based on feedback
1 parent 8e37cb3 commit 8613297

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/api/child_process.markdown

+4-2
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,8 @@ if it runs longer than `timeout` milliseconds. The child process is killed with
586586
amount of data (in bytes) allowed on stdout or stderr - if this value is
587587
exceeded then the child process is killed.
588588

589-
`child_process.exec()` is unrelated to the `exec()` system call in Unix-like operating systems.
589+
Unlike the `exec()` POSIX system call, `child_process.exec()` does not replace
590+
the existing process and uses a shell to execute the command.
590591

591592
### child_process.execFile(file[, args][, options][, callback])
592593

@@ -646,7 +647,8 @@ done with care and by default will talk over the fd represented an
646647
environmental variable `NODE_CHANNEL_FD` on the child process. The input and
647648
output on this fd is expected to be line delimited JSON objects.
648649

649-
`child_process.fork()` is unrelated to the `fork()` system call in Unix-like operating systems.
650+
Unlike the `fork()` POSIX system call, `child_process.fork()` does not clone the
651+
current process.
650652

651653
## Synchronous Process Creation
652654

0 commit comments

Comments
 (0)