diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-26 19:02:27 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-29 16:53:03 +0300 |
commit | 1a25f9639a9668d8ea90022b0f3d3b47d29971b6 (patch) | |
tree | ceba486d64311f7d40be3ad57db6bb217f9213fa /doc/api/child_process.md | |
parent | b2f0cfa6b0e139a2f990d4e1e7104abf015fe8e7 (diff) | |
download | android-node-v8-1a25f9639a9668d8ea90022b0f3d3b47d29971b6.tar.gz android-node-v8-1a25f9639a9668d8ea90022b0f3d3b47d29971b6.tar.bz2 android-node-v8-1a25f9639a9668d8ea90022b0f3d3b47d29971b6.zip |
doc: remove redundant 'Example:' and similar notes
Some nits were also fixed in passing.
PR-URL: https://github.com/nodejs/node/pull/22537
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r-- | doc/api/child_process.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md index e15829ce3f..5b2b16f253 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -642,8 +642,6 @@ pipes between the parent and child. The value is one of the following: words, stdin, stdout, and stderr) a pipe is created. For fd 3 and up, the default is `'ignore'`. -Example: - ```js const { spawn } = require('child_process'); @@ -1060,8 +1058,7 @@ See kill(2) for reference. Also note: on Linux, child processes of child processes will not be terminated when attempting to kill their parent. This is likely to happen when running a -new process in a shell or with use of the `shell` option of `ChildProcess`, such -as in this example: +new process in a shell or with use of the `shell` option of `ChildProcess`: ```js 'use strict'; @@ -1105,8 +1102,6 @@ added: v0.1.90 Returns the process identifier (PID) of the child process. -Example: - ```js const { spawn } = require('child_process'); const grep = spawn('grep', ['ssh']); |