Skip to content

Allow shell overrides#589

Open
gustavohenke wants to merge 6 commits into
mainfrom
issue-288
Open

Allow shell overrides#589
gustavohenke wants to merge 6 commits into
mainfrom
issue-288

Conversation

@gustavohenke
Copy link
Copy Markdown
Member

Adds a --shell CLI flag/shell API option that allows defining a custom shell to spawn commands with.
If not set, falls back to npm's script-shell configuration, and if also not set, falls back to the existing cmd.exe on Windows and /bin/sh elsewhere.

With this PR, using powershell is now possible too.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 97.977% (-1.0%) from 98.954% — issue-288 into main

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