mirror of https://github.com/lukechilds/node.git
Browse Source
Currently child_process.exec() assumes that cmd.exe is on the PATH, and fails with a spawn ENOENT error if it is not. The Windows 'comspec' environment variable contains the full filepath to the default command interpreter, eg "C:\Windows\System32\cmd.exe". Should it not be set, we fall-back to using 'cmd.exe' from PATH, as before. Signed-off-by: Fedor Indutny <fedor@indutny.com>archived-io.js-v0.10
Ed Morley
11 years ago
committed by
Fedor Indutny
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue