Repository navigation
Use the actual caller directory for dor in PowerShell and cmd - #1303
Merged
Merged
Conversation
Deploying mouseterm with
|
| Latest commit: |
16a83db
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://df968576.mouseterm.pages.dev |
| Branch Preview URL: | https://audit-cli-caller-directory.mouseterm.pages.dev |
dormouse-bot
approved these changes
Oct 21, 2026
nedtwigg
had a problem deploying
to
hosted-preview
October 21, 2026 17:02 — with
GitHub Actions
Error
This branch was successfully deployed
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.
PowerShell and cmd inherit a POSIX PWD without maintaining it as their current directory changes. With Dormouse launched from a repository, running dor split from the home directory consequently opened the new shell back in the repository; relative file and Tool operations used that stale base too.
Set PWD to the Windows launcher's current directory before either Node launch path. Git Bash and WSL continue through the unchanged POSIX launcher.
Validation: two new real cmd-launcher regressions fail before the change and pass after it; all four launcher tests pass, including paths with spaces and exit-status propagation. Live standalone harness reproduced the wrong split directory and verified that the fixed launcher opens the new shell in the caller's home directory. Spec and Markdown lints pass.