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

Spawn a shell for more reliable execution of yarn on some platforms. #21

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jadoc
Copy link
Contributor

@jadoc jadoc commented Mar 4, 2023

I tried building lgtv-ip-control on Windows as I'm using my C2 as a gaming monitor. It was unable to launch yarn as Windows as it's invoked via yarn.cmd and Windows requires a shell to run .cmd scripts. The Node documentation recommends having the spawn command launch an OS-specific shell for you by simply passing the "shell: true" option.

@WesSouza WesSouza force-pushed the robust-spawn branch 3 times, most recently from 8b7b312 to 1f62b6c Compare March 5, 2023 14:23
@WesSouza
Copy link
Owner

WesSouza commented Mar 5, 2023

I've rebased the PR to v3.0.0 to include #20, and also added a local GitHub Action for Windows, but it will need further debugging to make it work apparently.

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