summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-02-15 11:50:41 -0800
committerRich Trott <rtrott@gmail.com>2019-02-18 13:52:16 -0800
commit75035d8e43da7d7f688423aad089fac3aeb47699 (patch)
tree5e7033aed5ec6508cd8a4570ab8e665de03df6fc /doc/api/child_process.md
parentf86f16455d51dea926208df6d9406da7b7ed5cc0 (diff)
downloadandroid-node-v8-75035d8e43da7d7f688423aad089fac3aeb47699.tar.gz
android-node-v8-75035d8e43da7d7f688423aad089fac3aeb47699.tar.bz2
android-node-v8-75035d8e43da7d7f688423aad089fac3aeb47699.zip
doc: remove unnecessary italics from child_process.md
PR-URL: https://github.com/nodejs/node/pull/26141 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@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.md23
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 64edf151e3..7af0429816 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -40,8 +40,9 @@ the event loop until the spawned process either exits or is terminated.
For convenience, the `child_process` module provides a handful of synchronous
and asynchronous alternatives to [`child_process.spawn()`][] and
-[`child_process.spawnSync()`][]. *Note that each of these alternatives are
-implemented on top of [`child_process.spawn()`][] or [`child_process.spawnSync()`][].*
+[`child_process.spawnSync()`][]. Note that each of these alternatives are
+implemented on top of [`child_process.spawn()`][] or
+[`child_process.spawnSync()`][].
* [`child_process.exec()`][]: spawns a shell and runs a command within that
shell, passing the `stdout` and `stderr` to a callback function when
@@ -53,9 +54,9 @@ implemented on top of [`child_process.spawn()`][] or [`child_process.spawnSync()
specified module with an IPC communication channel established that allows
sending messages between parent and child.
* [`child_process.execSync()`][]: a synchronous version of
- [`child_process.exec()`][] that *will* block the Node.js event loop.
+ [`child_process.exec()`][] that will block the Node.js event loop.
* [`child_process.execFileSync()`][]: a synchronous version of
- [`child_process.execFile()`][] that *will* block the Node.js event loop.
+ [`child_process.execFile()`][] that will block the Node.js event loop.
For certain use cases, such as automating shell scripts, the
[synchronous counterparts][] may be more convenient. In many cases, however,
@@ -527,8 +528,8 @@ added: v0.7.10
On Windows, setting `options.detached` to `true` makes it possible for the
child process to continue running after the parent exits. The child will have
-its own console window. *Once enabled for a child process, it cannot be
-disabled*.
+its own console window. Once enabled for a child process, it cannot be
+disabled.
On non-Windows platforms, if `options.detached` is set to `true`, the child
process will be made the leader of a new process group and session. Note that
@@ -611,7 +612,7 @@ pipes between the parent and child. The value is one of the following:
for fds 0 - 2 are also available as [`subprocess.stdin`][],
[`subprocess.stdout`][] and [`subprocess.stderr`][], respectively.
2. `'ipc'` - Create an IPC channel for passing messages/file descriptors
- between parent and child. A [`ChildProcess`][] may have at most *one* IPC
+ between parent and child. A [`ChildProcess`][] may have at most one IPC
stdio file descriptor. Setting this option enables the
[`subprocess.send()`][] method. If the child is a Node.js process, the
presence of an IPC channel will enable [`process.send()`][] and
@@ -798,9 +799,9 @@ The `child_process.execSync()` method is generally identical to
[`child_process.exec()`][] with the exception that the method will not return
until the child process has fully closed. When a timeout has been encountered
and `killSignal` is sent, the method won't return until the process has
-completely exited. *Note that if the child process intercepts and handles the
+completely exited. Note that if the child process intercepts and handles the
`SIGTERM` signal and doesn't exit, the parent process will wait until the child
-process has exited.*
+process has exited.
If the process times out or has a non-zero exit code, this method will throw.
The [`Error`][] object will contain the entire result from
@@ -1329,8 +1330,8 @@ added: v0.1.90
A `Writable Stream` that represents the child process's `stdin`.
-*Note that if a child process waits to read all of its input, the child will not
-continue until this stream has been closed via `end()`.*
+Note that if a child process waits to read all of its input, the child will not
+continue until this stream has been closed via `end()`.
If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
then this will be `null`.