fd
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
When running `bootstrap.py` on another machine, the installation completes successfully with messages about creating `mm.bat`, but the `mm` command is not recognized when executed.
|
||||
|
||||
**Root Cause:** Windows terminal sessions cache the PATH environment variable. When registry changes are made, existing terminal sessions don't automatically reload the new PATH. The PowerShell shim is created correctly, but it isn't discoverable until either the current session reloads PATH or a new terminal is opened.
|
||||
**Root Cause:** Windows terminal sessions cache the PATH environment variable. When registry changes are made, existing terminal sessions don't automatically reload the new PATH. The batch shim is created correctly, but it isn't discoverable until either the current session reloads PATH or a new terminal is opened.
|
||||
|
||||
## Solution
|
||||
|
||||
@@ -36,7 +36,7 @@ python scripts/bootstrap.py --check-install
|
||||
```
|
||||
|
||||
This will check:
|
||||
- ✓ PowerShell shim exists (`mm.ps1`)
|
||||
- ✓ Batch shim exists (`mm.bat`)
|
||||
- ✓ Shim content is valid and points at the local venv
|
||||
- ✓ PATH environment variable is configured
|
||||
- ✓ Registry PATH was updated
|
||||
@@ -48,7 +48,7 @@ This will check:
|
||||
Checking 'mm' command installation...
|
||||
|
||||
Checking for shim files:
|
||||
mm.ps1: ✓ (C:\Users\Admin\bin\mm.ps1)
|
||||
mm.bat: ✓ (C:\Users\Admin\bin\mm.bat)
|
||||
|
||||
Checking PATH environment variable:
|
||||
C:\Users\Admin\bin in current session PATH: ✗
|
||||
|
||||
Reference in New Issue
Block a user