unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Shynur Xie <one.last.kiss@outlook.com>
Cc: 66514-done@debbugs.gnu.org
Subject: bug#66514: start-process explorer.exe open wrong directory
Date: Fri, 13 Oct 2023 18:18:04 +0300	[thread overview]
Message-ID: <834jiututv.fsf@gnu.org> (raw)
In-Reply-To: <PH0PR11MB7470CBD2E9B6261186E8C728D7D2A@PH0PR11MB7470.namprd11.prod.outlook.com> (message from Shynur Xie on Fri, 13 Oct 2023 13:15:49 +0000)

> 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.





      reply	other threads:[~2023-10-13 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-13 11:40 bug#66514: start-process explorer.exe open wrong directory Shynur Xie
2023-10-13 12:53 ` Eli Zaretskii
2023-10-13 13:15   ` Shynur Xie
2023-10-13 15:18     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834jiututv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66514-done@debbugs.gnu.org \
    --cc=one.last.kiss@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).