From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Newsgroups: gmane.emacs.help Subject: Re: w32-shell-execute and Cygwin Date: Mon, 20 Apr 2020 21:49:48 +0200 Message-ID: <86o8rmlyxv.fsf@duenenhof-wilhelm.de> References: <861roio4u3.fsf@duenenhof-wilhelm.de> <83h7xegosa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="9080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 20 21:51:16 2020 Return-path: Envelope-to: geh-help-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 1jQcRn-0002Fx-0F for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 21:51:15 +0200 Original-Received: from localhost ([::1]:41456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQcRl-0005Yh-Ve for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Apr 2020 15:51:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57520) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQcQS-0004qW-2L for help-gnu-emacs@gnu.org; Mon, 20 Apr 2020 15:49:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQcQR-0008JR-HV for help-gnu-emacs@gnu.org; Mon, 20 Apr 2020 15:49:51 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.73]:42823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQcQR-0008In-0T; Mon, 20 Apr 2020 15:49:51 -0400 Original-Received: from ping ([92.116.158.86]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MtwQk-1j5V4K2oGq-00uMqQ; Mon, 20 Apr 2020 21:49:48 +0200 In-Reply-To: <83h7xegosa.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Apr 2020 18:28:05 +0300") X-Provags-ID: V03:K1:ZfanjODtc0U5Sf0cZEL80QJH1dD/4Q0QtbFv+VdBkR/ahh352x+ M+dCHouFhuVgtqQLad3EPDHRZBOwPBvNVLinQ2U65uXW4UV6axY7+03LwWr/mzDWsSAA+NZ SCK9uuu8LmSYDl8lY9aaDi4B4u+qgN+k3xY2XnFTfolxFFSWN55519mqgaGkrwnGxjbE5ct gP2Al5p4dhY4E1h2J1CjA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hI61BudoKgg=:+MmNLoKboeYwgba2FYFC01 lZGlSdOTlrclLTy9D7L6iqvsiLLP9Z0eGIalVMi0anfX8ERYE6utpay6CLlzrByVgIvVmziZM f4qDKoatCIH++n0jssE4H8PP/ivs9sO+WSKnvvjxTXvR6D6RKeV6DYpjFtJaHKeiNSUWSnWde cw73kJYm3t/O1AHnPvKPFKMoPoNJ59m4hcSqhDedtnp992s+XMLyF5R2hUR896hX9NhtFOeaK PhL1wqOm92Btfe6WR0GvqLfO6pszvJcrUSUtgM+5F+lQ3S9SW0tRNI8+3nO3s4BegiqN6Ltma phT3it+6Fwy+575cFTEtWLJv7dimR7XlWZWLRWgoGJDpEBhF43Q2cJFw2a/tZs7s+pqHXe+o7 lc4bB2YA2jtDx3mFqRij3ltr3dl/5+leqpKTJlDxqOyual6Xy33BgS4iwJjf9IQR4AJlTl5s/ ICFRAQDVRsqHImLZn4LGmnOkB6Pg8IviR2td518Gat1ySarUzllsrkWL9vaJqSPsCdNAueKfb V2gRzSI+l9vw32jK9PNnR4WfV/orlS27OwiP+ZCOpcd9OGhGa8MKiuoDbyJkfLTxWtOVBJgxY txR5ZvNfrxQX5HhJ5bh3YGIujf7OCIhmBW+nrfclYgbxhyhfCWvgueF/N9JjRIxtN7wVtDHKr 7dHvFtL6s3rp4CH2jlyH63a2eG6hg+NkpK/2A5c/u7GwMQfDxdpYJztiPVxkd5X12zVOEemvi qtisC1PQVxN+tTVko04iyXASI6XUpgp8r5xWSyIMa0ztngugcaGmxt+G2wXaLDfInceocNdo Received-SPF: none client-ip=217.72.192.73; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/20 15:49:48 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Received-From: 217.72.192.73 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122901 Archived-At: Eli Zaretskii writes: >> From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) >> Date: Mon, 20 Apr 2020 11:59:32 +0200 >> >> Under windows-nt I'm using w32-shell-execute to start a Windows10 >> program. This isn't working for Emacs-26.3 in a cygwin terminal because >> w32-shell-execute is not bound. >> >> Do you know a cygwin alternative for w32-shell-execute? I guess >> start-process will do but I don't need a subprocess for this independent >> application. > > Can't you use the Cygwin/w32 build of Emacs, i.e. a Cygwin build which > uses MS-Windows native GUI widgets? That build does support > w32-shell-execute function. Installed on cygwin the emacs-w32.exe version, do you mean that? This Emacs built (version emacs-27.0.90) is knowing w32-shell-execute. :-) But now there is the problem that w32-shell-execute seemingly doesn't recognise cygwin paths. (here: "/cygwin/c/...") error "ShellExecute failed: The system cannot find the file..." It seems to me as if w32-shell-execute is not literate for cygwin paths and one needs to normalise them to the Windows standard ("c:/...")? Thank you Eli Dieter -- Best wishes H. Dieter Wilhelm Zwingenberg, Germany