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

Fix build-beta's spawn on Windows #161

Merged
merged 3 commits into from
Feb 16, 2021

Conversation

j-maas
Copy link
Contributor

@j-maas j-maas commented Feb 16, 2021

Replace child_process with cross-spawn to ensure cross-platform compatibility.

Also removes the unused shellCommand function and its imports, since the exec field does not exist on the cross-spawn import.

Tested on Windows 10 and the build now succeeds.

@dillonkearns
Copy link
Owner

This is excellent, thank you so much @y0hy0h! 🙏

@dillonkearns dillonkearns merged commit 8ca8422 into dillonkearns:master Feb 16, 2021
@dillonkearns
Copy link
Owner

This change is live in the latest NPM package. Thanks again!

https://github.com/dillonkearns/elm-pages/blob/master/CHANGELOG-NPM.md#155---2020-02-16

@j-maas
Copy link
Contributor Author

j-maas commented Feb 16, 2021

Thank you for your help and work!

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.

2 participants