Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Windows cannot spawn process w/o shell #17

Closed
rdig opened this issue Oct 26, 2016 · 0 comments
Closed

Windows cannot spawn process w/o shell #17

rdig opened this issue Oct 26, 2016 · 0 comments

Comments

@rdig
Copy link
Owner

rdig commented Oct 26, 2016

Description

Windows cannot execute commands without spawning a new shell. At the moment we are skipping the shell and spawning a new process directly.

Steps to Reproduce

  1. Install via npm i es6g-init or clone repo

Expected behavior: To install the package

Actual behavior: Error: spawn ENOENT

Environment

  • OS: Windows 7 x64 Professional
  • Node: 6.9.1
  • Package version: 0.1.0
  • Dependencies versions: not applicable

Proposal

We can either revert back to using the exec() method or pass the { shell: true} option to current execFile() method.

I think the second option seems a better approach.

More info github.com/nodejs/node-v0.x-archive/issues/2318

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant