all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: w32-shell-execute and Cygwin
Date: Mon, 20 Apr 2020 21:49:48 +0200	[thread overview]
Message-ID: <86o8rmlyxv.fsf@duenenhof-wilhelm.de> (raw)
In-Reply-To: <83h7xegosa.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Apr 2020 18:28:05 +0300")

Eli Zaretskii <eliz@gnu.org> 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



  reply	other threads:[~2020-04-20 19:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20  9:59 w32-shell-execute and Cygwin H. Dieter Wilhelm
2020-04-20 15:12 ` Jakub Jankiewicz
2020-04-20 19:09   ` H. Dieter Wilhelm
2020-04-21  8:27     ` Jakub Jankiewicz
2020-04-20 15:28 ` Eli Zaretskii
2020-04-20 19:49   ` H. Dieter Wilhelm [this message]
2020-04-21  2:24     ` Eli Zaretskii
2020-04-21  8:53       ` H. Dieter Wilhelm
2020-04-21 14:20         ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=86o8rmlyxv.fsf@duenenhof-wilhelm.de \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.