Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use exec rather than spawn when using windows #1372

Merged
merged 1 commit into from
Jun 17, 2014

Conversation

patrickkettner
Copy link
Member

fixes #1290

this gives us the least terrible of both worlds, using spawn unless
windows, where we use exec. That way everyone can build

uses win-spawn, rather than child_process.spawn, for cross platform goodness

@sindresorhus
Copy link
Contributor

This won't work as exec has another argument signature than spawn.
Just use https://github.com/ForbesLindesay/win-spawn

@patrickkettner
Copy link
Member Author

you are a beautiful man, @sindresorhus

fixes Modernizr#1290

this gives us the least terrible of both worlds, using spawn unless
windows, where we use exec. That way everyone can build
patrickkettner added a commit that referenced this pull request Jun 17, 2014
use exec rather than spawn when using windows
@patrickkettner patrickkettner merged commit 7d192a4 into Modernizr:master Jun 17, 2014
@patrickkettner patrickkettner deleted the exec-tweak branch June 17, 2014 04:12
patrickkettner added a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
use exec rather than spawn when using windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants