embark-open-externally will freeze Emacs on Windows system
Eason0210 opened this issue · comments
Hi @oantolin
When using embark-open-externally
to open a folder on Windows 10 or Windows 11, it will freeze Emacs. And I had to kill the Emacs process and restart Emacs.
steps to reproduce:
- install emabark and start Emacs
- execute below code to open any folder, here I try to open the
.emacs.d
(embark-open-externally (expand-file-name "~/.emacs.d/"))
solution:
Change (w32-shell-execute "open" file)
in embark-open-externally
to (w32-shell-execute nil file)
will fix this issue.