Files
node/doc/api
Damjan Cvetko 3188dcb390 doc: clarify path search in child_process.spawn
The documentation about command lookup could be more clear and note
differences between Windows and Linux/OSX.
Current text gives the impression that if one passes `options.env`
without `PATH`, the path search will fall back on `process.env.PATH`.
In reality, passing environment without `PATH` to `execvp` causes it
to look for the binary only in `/usr/bin:/bin`.
Also Windows behaves different and more in line with the current
documentation text.

PR-URL: https://github.com/nodejs/node/pull/41418
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2022-04-23 22:47:19 -04:00
..
2022-04-20 20:34:19 -04:00
2022-04-23 22:47:05 -04:00
2022-04-23 22:47:02 -04:00
2022-04-23 22:26:04 -04:00
2022-04-23 22:25:49 -04:00
2022-04-20 03:44:01 -04:00
2022-04-23 22:47:09 -04:00
2021-10-04 20:30:50 +02:00
2022-04-23 22:47:09 -04:00
2022-04-23 22:26:04 -04:00
2022-04-23 22:47:11 -04:00
2022-04-23 22:47:09 -04:00
2022-04-23 22:47:09 -04:00