Skip to content

Allow shell overrides#589

Merged
gustavohenke merged 7 commits into
mainfrom
issue-288
May 19, 2026
Merged

Allow shell overrides#589
gustavohenke merged 7 commits into
mainfrom
issue-288

Conversation

@gustavohenke
Copy link
Copy Markdown
Member

@gustavohenke gustavohenke commented May 18, 2026

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.

Fixes #288

@coveralls
Copy link
Copy Markdown

coveralls commented May 19, 2026

Coverage Status

coverage: 98.823% (-0.1%) from 98.954% — issue-288 into main

@gustavohenke gustavohenke merged commit b229c8c into main May 19, 2026
21 checks passed
@gustavohenke gustavohenke deleted the issue-288 branch May 19, 2026 13:20
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.

npm script-shell config setting not honored

2 participants