summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-08-29 09:28:03 -0400
committerRich Trott <rtrott@gmail.com>2019-08-31 15:31:13 -0700
commit9ab1e07774b0c38a66e29f4b0b257ded8ee04d08 (patch)
tree4aa8dbb551d8baa96a6c22e44eb9a39e73f579bf /doc/api/child_process.md
parentee8f02b0d752ecf2dfa044deb246e75283d1ca1d (diff)
downloadandroid-node-v8-9ab1e07774b0c38a66e29f4b0b257ded8ee04d08.tar.gz
android-node-v8-9ab1e07774b0c38a66e29f4b0b257ded8ee04d08.tar.bz2
android-node-v8-9ab1e07774b0c38a66e29f4b0b257ded8ee04d08.zip
doc: add blanks around code fences
Addresses Markdownlint MD031 rule warnings PR-URL: https://github.com/nodejs/node/pull/29366 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 02ffce7238..412092d7d1 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -168,6 +168,7 @@ generated output. The `command` string passed to the exec function is processed
directly by the shell and special characters (vary based on
[shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters))
need to be dealt with accordingly:
+
```js
exec('"/path/to/test file/test.sh" arg1 arg2');
// Double quotes are used so that the space in the path is not interpreted as