$env:EMACS returns incorrectly formatted path and causes SPC H R R crash
I confirm that...
-
[x] I searched the issue tracker and found no similar issues.
-
[x] I searched the documentation, FAQ, discussion board, and Google for solutions to my issue.
-
[x] I read the debugging guide and researched the issue to the best of my ability.
-
[x] My issue can be observed on the latest available commit of Doom.
-
[x] My issue can be observed on a stable release of Emacs (i.e. doesn't end in
.50,.60, or.90–.99)
Describe your issue
On Windows 11, trying to run doom related command like SPC H R R return an error.
Trying to debug, I found that the $env:EMACS variable return this:
Trying to only use Executable-Find "emacs.exe" work. So $env:EMACS path is incorrectly formatted.
Steps to reproduce
- Install doom emacs (On Windows 11)
- Open emacs
- Do SPC H R R to run doom sync
System information
https://pastebin.com/CUMiGKM0
I need someone better versed in powershell to look at this. doom.ps1 worked fine in win10, so not sure if this is a win11 thing or a powershell issue and how to ensure backwards compatibility.