Skip to content

Conversation

@iclanton
Copy link
Member

@iclanton iclanton commented Dec 11, 2025

Summary

This is a prerequisite for #5379. See that PR for discussion relevant to this PR.

How it was tested

This PR has been published as @microsoft/rush-lib@5.165.0-pr5496.2.

@github-project-automation github-project-automation bot moved this to Needs triage in Bug Triage Dec 11, 2025
@iclanton iclanton moved this from Needs triage to In Progress in Bug Triage Dec 17, 2025
@iclanton iclanton force-pushed the remove-rush-shell branch 3 times, most recently from d1a9093 to 0b99d96 Compare December 29, 2025 23:44
iclanton added a commit that referenced this pull request Jan 3, 2026
* Remove deprecated shell: true usage.

* Stop quoting args.

* TEMPORARY - run retest fromt he locally-built copy of Rush.

* Fix an issue where where the Windows CMD shell's arguments aren't passed as individual arguments.

* Don't escape individual args in RushX, as they're passed to cmd/sh.

* fixup! Remove deprecated shell: true usage.

* Remove an unused function.

* Use destructuring in a few places.

* Fix an issue with detecting if a package isn't published.

* Wrap some command invocations in a shell.

* Fix an issue with detection of non-published packages.

* fixup! Wrap some command invocations in a shell.

* fixup! Fix an issue with detection of non-published packages.

* Fix issues with install-run on Windows.

* TEMPORARY - ensure install-run works as expected.

* Fix an issue with commands and arguments containing spaces.

* fixup! Fix an issue with commands and arguments containing spaces.

* fixup! TEMPORARY - ensure install-run works as expected.

* fixup! TEMPORARY - ensure install-run works as expected.

* TEMPORARY - install-run debugging.

* fixup! TEMPORARY - install-run debugging.

* Fix issues with git calls in stageAndCommitGitChangesAsync

Co-authored-by: David Michon <dmichon@microsoft.com>

* Deduplicate instances of the Windows platform check.

* Include unit tests for convertCommandAndArgsToShell.

* Remove a redundant condition.

* Clean up an error message.

* Fix an issue with double-quoting in install-run.

* TEMPORARY - only build to rush-lib.

* fixup! Fix an issue with double-quoting in install-run.

* Don't run as a shell command on Windows.

* fixup! TEMPORARY - only build to rush-lib.

* Revert "Don't run as a shell command on Windows."

This reverts commit 1fa9d41.

* Pass 'process.env' to the 'npm view' command.

* Handle null status code too.

* fixup! Fix an issue with double-quoting in install-run.

* Set windowsVerbatimArguments to true in places where spawn is called with a shell wrapper.

* Fix an issue with quoting of arguments.

* fixup! Set windowsVerbatimArguments to true in places where spawn is called with a shell wrapper.

* fixup! Fix an issue with quoting of arguments.

* Revert "fixup! TEMPORARY - install-run debugging."

This reverts commit 10ff217.

* Revert "TEMPORARY - install-run debugging."

This reverts commit 2640932.

* Pull back shell: true changes.

* Rush change.

* fixup! Pull back shell: true changes.

* Put the CI config back.

* Include signals in install-run npm command logging.

* Minor cleanup.

* Remove an unused function.

* Move convertCommandAndArgsToShell into Utilities.

---------

Co-authored-by: David Michon <dmichon@microsoft.com>
@iclanton iclanton merged commit 89c56ee into microsoft:main Jan 3, 2026
5 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Closed in Bug Triage Jan 3, 2026
@iclanton iclanton deleted the remove-rush-shell branch January 3, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants