Repository navigation
fix: Use working PowerShell custom shell invocation - #305
Merged
Merged
Conversation
This was referenced Nov 1, 2026
pavelzw
enabled auto-merge (squash)
November 1, 2026 17:03
pavelzw
disabled auto-merge
November 1, 2026 17:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
shell: pixi run pwsh -Command {0}never actually executed the script. GitHub Actions only appends.ps1to the temporary script file if the shell command starts withpwsh. Withpixi run pwsh ...the file has no extension, sopwsh -Command <file>tries to start it as a native program.execvefails with ENOEXEC and .NET falls back to shell-execute (xdg-openon Linux):xdg-openis installed, so it fails withNo such file or directory(Investigate why ubuntu-24.04-arm with pixi-shell pwsh behaves weirdly #198)pixi run pwsh -File {0}(suggested in #78) works on Linux/macOS but fails on Windows because of the missing.ps1extension.Investigation and variant matrix in #304.
pixi run pwsh -NoProfile -Command "Invoke-Expression (Get-Content -Raw '{0}')"works on all platforms.Changes:
closes #78, closes #198, closes #304
If updating documentation: