From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66514: start-process explorer.exe open wrong directory Date: Fri, 13 Oct 2023 18:18:04 +0300 Message-ID: <834jiututv.fsf@gnu.org> References: <837cnqu1ij.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26341"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66514-done@debbugs.gnu.org To: Shynur Xie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 13 17:19:00 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qrJwJ-0006Z4-RQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Oct 2023 17:18:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrJw1-0006yW-4H; Fri, 13 Oct 2023 11:18:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrJvz-0006xh-2i for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 11:18:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrJvy-0000Wz-Qk for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 11:18:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrJwL-00063e-RN for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2023 11:19:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2023 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 66514 X-GNU-PR-Package: emacs Mail-Followup-To: 66514@debbugs.gnu.org, eliz@gnu.org, one.last.kiss@outlook.com Original-Received: via spool by 66514-done@debbugs.gnu.org id=D66514.169721032023006 (code D ref 66514); Fri, 13 Oct 2023 15:19:01 +0000 Original-Received: (at 66514-done) by debbugs.gnu.org; 13 Oct 2023 15:18:40 +0000 Original-Received: from localhost ([127.0.0.1]:47096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrJvz-0005yw-V6 for submit@debbugs.gnu.org; Fri, 13 Oct 2023 11:18:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrJvw-0005yb-O6 for 66514-done@debbugs.gnu.org; Fri, 13 Oct 2023 11:18:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrJvU-0000RY-5I; Fri, 13 Oct 2023 11:18:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZCqn32fuN1Wt9PdQrRfsE/34gDajt2lkuL3LC+eK+n8=; b=RxLswpK632cP bTxzZSB0MDS+M+TpQDNj5MoNhVNTh7nbVCt9xS2zNKWAtqXL8y59Fkq+pyT9ogWLDBUyFgATpV5JI gx3d+4PYsTMTglxoXUoyftmmAVmMxXCW1Ehs2/4Si9cbZWcskkCL/TkjMz+v9LNJIOlNs8gc+Ze9x zjwTSoPtaySaZYfmIekvSN1YWvbx+lxabsOghGTZE2ti1gw1ic7KZzJQIIcjupRg1+wFrajz6zzWP EiDQCU5AkFN/sAJjlNb/Rmp8wwbovoYAm7Lno13zhKG8C9loTxHlVnhoq9T+98V5e4HPB40KsoT4Z 1fyJ5VenDr18GkBPffpGoA==; In-Reply-To: (message from Shynur Xie on Fri, 13 Oct 2023 13:15:49 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272354 Archived-At: > From: Shynur Xie > 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.