emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66514: closed (start-process explorer.exe open wrong directory)


From: GNU bug Tracking System
Subject: bug#66514: closed (start-process explorer.exe open wrong directory)
Date: Fri, 13 Oct 2023 15:19:01 +0000

Your message dated Fri, 13 Oct 2023 18:18:04 +0300
with message-id <834jiututv.fsf@gnu.org>
and subject line Re: bug#66514: start-process explorer.exe open wrong directory
has caused the debbugs.gnu.org bug report #66514,
regarding start-process explorer.exe open wrong directory
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66514: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66514
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: start-process explorer.exe open wrong directory Date: Fri, 13 Oct 2023 11:40:44 +0000
(Emacs v29.1 on MS-Windows)

Reproduce:

  1. $ emacs.exe -Q
  2. (start-process "Explorer" nil "explorer.exe" "C:/Users/username")

I think it should open the HOME folder,
but it actually opened "C:/Users/username/Documents".

When I use shell-mode or eshell, explorer works as expected.


--- End Message ---
--- Begin Message --- Subject: Re: bug#66514: start-process explorer.exe open wrong directory Date: Fri, 13 Oct 2023 18:18:04 +0300
> From: Shynur Xie <one.last.kiss@outlook.com>
> CC: "66514@debbugs.gnu.org" <66514@debbugs.gnu.org>
> Date: Fri, 13 Oct 2023 13:15:49 +0000
> msip_labels:
> 
> > Try
> > (start-process "Explorer" nil "explorer.exe" "C:\\Users\\username")
> 
> Thanks for your help!  This expression works perfectly.
> It seems that the forward slash is for the explorer to receive
> arguments.

Yes, MS-Windows programs frequently treat the forward slash as the
option character, instead of the dash.

> >> When I use shell-mode or eshell, explorer works as expected.
> > How exactly do you "use shell-mode or eshell" to start the Explorer?
> 
> This is a faulty memory, and when I wrote the bug report, I tested
> only the 'reproduce' section.  My mistake.
> The bug can now be closed; it's more about 'explorer.exe' rather
> than Emacs.

Done, thanks.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]