Skip to content

Commit

Permalink
child_process: note in docs that fork() and exec() are unrelated to U…
Browse files Browse the repository at this point in the history
…nix system calls of the same name
  • Loading branch information
Trott committed May 19, 2015
1 parent f29762f commit 8e37cb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/child_process.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ if it runs longer than `timeout` milliseconds. The child process is killed with
amount of data (in bytes) allowed on stdout or stderr - if this value is
exceeded then the child process is killed.

`child_process.exec()` is unrelated to the `exec()` system call in Unix-like operating systems.

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

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

`child_process.fork()` is unrelated to the `fork()` system call in Unix-like operating systems.

## Synchronous Process Creation

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

0 comments on commit 8e37cb3

Please sign in to comment.