Skip to content

Commit

Permalink
doc: fixes default shell in child_process.md
Browse files Browse the repository at this point in the history
Wrapped `%COMSPEC%` with percent signs.

Fixes: nodejs#14156
  • Loading branch information
henryzxu committed Jul 18, 2017
1 parent e4171c3 commit 46a8829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/child_process.md
Expand Up @@ -1286,7 +1286,7 @@ On Windows, command line parsing should be compatible with `'cmd.exe'`.

## Default Windows Shell

Although Microsoft specifies `%COMSPEC` must contain the path to
Although Microsoft specifies `%COMSPEC%` must contain the path to
`'cmd.exe'` in the root environment, child processes are not always subject to
the same requirement. Thus, in `child_process` functions where a shell can be
spawned, `'cmd.exe'` is used as a fallback if `process.env.ComSpec` is
Expand Down

0 comments on commit 46a8829

Please sign in to comment.