summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-09 18:49:08 -0400
committerRich Trott <rtrott@gmail.com>2019-10-10 22:15:58 -0700
commit81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch)
tree151d163358f029f8f686b595db2c565ddcff1070 /doc/api/child_process.md
parenta1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff)
downloadandroid-node-v8-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.tar.gz
android-node-v8-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.tar.bz2
android-node-v8-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.zip
doc: escape brackets not used as markdown reference links
These can turn into links if reference links are added to the document PR-URL: https://github.com/nodejs/node/pull/29809 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index ab4c4cb004..9f153175a1 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -129,7 +129,7 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
});
```
-### child_process.exec(command[, options][, callback])
+### child_process.exec(command\[, options\]\[, callback\])
<!-- YAML
added: v0.1.90
changes:
@@ -233,7 +233,7 @@ async function lsExample() {
lsExample();
```
-### child_process.execFile(file[, args][, options][, callback])
+### child_process.execFile(file\[, args\]\[, options\]\[, callback\])
<!-- YAML
added: v0.1.91
changes:
@@ -317,7 +317,7 @@ getVersion();
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.**
-### child_process.fork(modulePath[, args][, options])
+### child_process.fork(modulePath\[, args\]\[, options\])
<!-- YAML
added: v0.5.0
changes:
@@ -382,7 +382,7 @@ current process.
The `shell` option available in [`child_process.spawn()`][] is not supported by
`child_process.fork()` and will be ignored if set.
-### child_process.spawn(command[, args][, options])
+### child_process.spawn(command\[, args\]\[, options\])
<!-- YAML
added: v0.1.90
changes:
@@ -686,7 +686,7 @@ Blocking calls like these are mostly useful for simplifying general-purpose
scripting tasks and for simplifying the loading/processing of application
configuration at startup.
-### child_process.execFileSync(file[, args][, options])
+### child_process.execFileSync(file\[, args\]\[, options\])
<!-- YAML
added: v0.11.12
changes:
@@ -753,7 +753,7 @@ If the process times out or has a non-zero exit code, this method will throw an
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.**
-### child_process.execSync(command[, options])
+### child_process.execSync(command\[, options\])
<!-- YAML
added: v0.11.12
changes:
@@ -813,7 +813,7 @@ The [`Error`][] object will contain the entire result from
**Never pass unsanitized user input to this function. Any input containing shell
metacharacters may be used to trigger arbitrary command execution.**
-### child_process.spawnSync(command[, args][, options])
+### child_process.spawnSync(command\[, args\]\[, options\])
<!-- YAML
added: v0.11.12
changes:
@@ -1038,7 +1038,7 @@ When the child process is a Node.js instance (e.g. spawned using
[`child_process.fork()`][]), the `process.disconnect()` method can be invoked
within the child process to close the IPC channel as well.
-### subprocess.kill([signal])
+### subprocess.kill(\[signal\])
<!-- YAML
added: v0.1.90
-->
@@ -1148,7 +1148,7 @@ subprocess.unref();
subprocess.ref();
```
-### subprocess.send(message[, sendHandle[, options]][, callback])
+### subprocess.send(message\[, sendHandle\[, options\]\]\[, callback\])
<!-- YAML
added: v0.5.9
changes: