This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Is it possible to hide emacs-w32 console window?
- From: Oleksandr Gavenko <gavenkoa at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 30 May 2016 12:01:00 +0300
- Subject: Re: Is it possible to hide emacs-w32 console window?
- Authentication-results: sourceware.org; auth=none
- References: <87pos53n6s dot fsf at gavenkoa dot example dot com> <463b9a2b-cad4-5fe7-f175-1a723c0bcf63 at cornell dot edu> <87d1o52fx2 dot fsf at gavenkoa dot example dot com> <75fd4118-49a9-e999-1c7d-6b1ace782fc6 at cornell dot edu>
On 2016-05-29, Ken Brown wrote:
> You can avoid the console window by using Cygwin's run.exe. See the shortcut
> for the X server for an example of this. (You do get a brief console window,
> but it immediately disappears.)
Thanks, that helped.
I tested with "Win+R run emacs-w32 ENTER" but better to have wrapper to
simplify typing.
run(1) man page explains some details:
NAME
run - start programs with hidden console window
DESCRIPTION
Windows programs are either GUI programs or console programs. When
started console programs will either attach to an existing console or
create a new one. GUI programs can never attach to an exiting console.
There is no way to attach to an existing console but hide it if started
as GUI program.
run will do this for you. It works as intermediate and starts a program
but makes the console window hidden.
--
http://defun.work/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple