Skip to content

Commit e506f6a

Browse files
Trottrvagg
authored andcommitted
doc: remove unnecessary italics from child_process.md
PR-URL: #26141 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b48a04b commit e506f6a

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

doc/api/child_process.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ the event loop until the spawned process either exits or is terminated.
4040

4141
For convenience, the `child_process` module provides a handful of synchronous
4242
and asynchronous alternatives to [`child_process.spawn()`][] and
43-
[`child_process.spawnSync()`][]. *Note that each of these alternatives are
44-
implemented on top of [`child_process.spawn()`][] or [`child_process.spawnSync()`][].*
43+
[`child_process.spawnSync()`][]. Note that each of these alternatives are
44+
implemented on top of [`child_process.spawn()`][] or
45+
[`child_process.spawnSync()`][].
4546

4647
* [`child_process.exec()`][]: spawns a shell and runs a command within that
4748
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()
5354
specified module with an IPC communication channel established that allows
5455
sending messages between parent and child.
5556
* [`child_process.execSync()`][]: a synchronous version of
56-
[`child_process.exec()`][] that *will* block the Node.js event loop.
57+
[`child_process.exec()`][] that will block the Node.js event loop.
5758
* [`child_process.execFileSync()`][]: a synchronous version of
58-
[`child_process.execFile()`][] that *will* block the Node.js event loop.
59+
[`child_process.execFile()`][] that will block the Node.js event loop.
5960

6061
For certain use cases, such as automating shell scripts, the
6162
[synchronous counterparts][] may be more convenient. In many cases, however,
@@ -527,8 +528,8 @@ added: v0.7.10
527528

528529
On Windows, setting `options.detached` to `true` makes it possible for the
529530
child process to continue running after the parent exits. The child will have
530-
its own console window. *Once enabled for a child process, it cannot be
531-
disabled*.
531+
its own console window. Once enabled for a child process, it cannot be
532+
disabled.
532533

533534
On non-Windows platforms, if `options.detached` is set to `true`, the child
534535
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:
611612
for fds 0 - 2 are also available as [`subprocess.stdin`][],
612613
[`subprocess.stdout`][] and [`subprocess.stderr`][], respectively.
613614
2. `'ipc'` - Create an IPC channel for passing messages/file descriptors
614-
between parent and child. A [`ChildProcess`][] may have at most *one* IPC
615+
between parent and child. A [`ChildProcess`][] may have at most one IPC
615616
stdio file descriptor. Setting this option enables the
616617
[`subprocess.send()`][] method. If the child is a Node.js process, the
617618
presence of an IPC channel will enable [`process.send()`][] and
@@ -798,9 +799,9 @@ The `child_process.execSync()` method is generally identical to
798799
[`child_process.exec()`][] with the exception that the method will not return
799800
until the child process has fully closed. When a timeout has been encountered
800801
and `killSignal` is sent, the method won't return until the process has
801-
completely exited. *Note that if the child process intercepts and handles the
802+
completely exited. Note that if the child process intercepts and handles the
802803
`SIGTERM` signal and doesn't exit, the parent process will wait until the child
803-
process has exited.*
804+
process has exited.
804805

805806
If the process times out or has a non-zero exit code, this method will throw.
806807
The [`Error`][] object will contain the entire result from
@@ -1329,8 +1330,8 @@ added: v0.1.90
13291330

13301331
A `Writable Stream` that represents the child process's `stdin`.
13311332

1332-
*Note that if a child process waits to read all of its input, the child will not
1333-
continue until this stream has been closed via `end()`.*
1333+
Note that if a child process waits to read all of its input, the child will not
1334+
continue until this stream has been closed via `end()`.
13341335

13351336
If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
13361337
then this will be `null`.

0 commit comments

Comments
 (0)