Skip to content

Commit 8e37cb3

Browse files
committed
child_process: note in docs that fork() and exec() are unrelated to Unix system calls of the same name
1 parent f29762f commit 8e37cb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/child_process.markdown

+3
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ 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.
589590

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

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

649+
`child_process.fork()` is unrelated to the `fork()` system call in Unix-like operating systems.
650+
648651
## Synchronous Process Creation
649652

650653
These methods are **synchronous**, meaning they **WILL** block the event loop,

0 commit comments

Comments
 (0)