0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Tessei Kameyama af883e1f99 child_process: fix switches for alternative shells on Windows
On Windows, normalizeSpawnArguments set "/d /s /c" for any shells.
It cause exec and other methods are limited to cmd.exe as a shell.

Powershell and git-bash are often used instead of cmd.exe,
and they can recieve "-c" switch like unix shells.
So normalizeSpawnArguments is changed to set "/d /s /c" for cmd.exe,
and "-c" for others.

Fixes: https://github.com/nodejs/node/issues/21905
PR-URL: https://github.com/nodejs/node/pull/21943
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
2018-09-05 20:52:02 +01:00
..
addons.md doc: remove usage of deprecated V8 APIs in addons.md 2018-09-05 13:49:24 +02:00
assert.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
async_hooks.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
buffer.md doc: improve examples in buffer docs 2018-09-02 18:14:23 +02:00
child_process.md child_process: fix switches for alternative shells on Windows 2018-09-05 20:52:02 +01:00
cli.md coverage: expose native V8 coverage 2018-09-05 10:26:48 -07:00
cluster.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
console.md 2018-07-18, Version 10.7.0 (Current) 2018-07-18 20:17:23 +02:00
crypto.md doc: improve ECDH example 2018-09-03 10:51:13 +02:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md crypto: deprecate aliases for randomBytes 2018-08-30 17:19:51 +02:00
dgram.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
dns.md doc: declare all parameter types 2018-07-15 23:57:35 +03:00
documentation.md doc: make Stability Index more concise 2018-08-30 20:15:40 +01:00
domain.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
errors.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
esm.md esm: provide named exports for builtin libs 2018-05-11 12:06:18 -05:00
events.md doc: declare all parameter types 2018-07-15 23:57:35 +03:00
fs.md doc: fix a typo in fs.md 2018-09-02 18:49:29 +03:00
globals.md 2018-04-24, Version 10.0.0 (Current) 2018-04-24 12:02:31 -07:00
http2.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
http.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
https.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
index.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
inspector.md doc: fix structure and formatting in inspector.md 2018-07-08 21:56:10 +03:00
intl.md doc: bump ICU version to avoid confusion 2018-08-14 22:44:58 +03:00
modules.md doc: clarify fallback behavior of module require 2018-09-02 13:50:06 +02:00
n-api.md doc: add blurb about implications of ABI stability 2018-09-03 11:32:29 -04:00
net.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
os.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
path.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
perf_hooks.md perf_hooks: remove less useful bootstrap marks 2018-06-15 09:05:19 -07:00
process.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
querystring.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
readline.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
repl.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
stream.md doc: clarify Readable paused/flowing!==object mode 2018-09-03 17:57:41 +03:00
string_decoder.md doc: unify section structures 2018-04-15 02:37:50 +03:00
synopsis.md doc: add missing periods or colons 2018-05-02 06:17:08 +03:00
timers.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
tls.md doc: indicate createSecureContext arg is optional 2018-09-02 14:04:53 +02:00
tracing.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
tty.md doc: declare all parameter types 2018-07-15 23:57:35 +03:00
url.md url: provide pathToFileURL and fileURLToPath 2018-09-04 16:08:21 +02:00
util.md util: add util.types.isBoxedPrimitive 2018-09-05 20:53:59 +02:00
v8.md doc: update a link in v8.md 2018-09-03 17:47:28 +03:00
vm.md vm: add bindings for v8::CompileFunctionInContext 2018-08-29 16:41:01 +02:00
worker_threads.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
zlib.md doc: unify optional arguments format in headings 2018-08-19 21:45:39 +03:00