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 cross-spawn in ern-core #1543

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

friederbluemle
Copy link
Member

Use spawn from cross-spawn instead of Node's own child_process, due to cross platform compatibility issues running executables/scripts (Linux, macOS, and Windows).

Some more details and background info in this almost 10 year old thread:
nodejs/node-v0.x-archive#2318

This fix is related to an issue found with Yarn on Windows.

Fixes #1527

Copy link
Member

@belemaire belemaire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

@friederbluemle friederbluemle merged commit 33edfd0 into electrode-io:master Apr 13, 2020
@friederbluemle friederbluemle deleted the cross-spawn branch April 13, 2020 20:57
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.

ern create-miniapp fails [Windows]
2 participants