X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type; q=dns; s=default; b=qYvz71XJw/4xQqnb
	Iwj9fVmSpzpK+5OTXVMzhzuS2EZxyOeHwq2p1vXtqDGTSv4Bn5ns86nfl1apKT5d
	fDj2lSbNSAWtqA1jWsMjxRKh/EjjdCUnSmmIBYHVia8rSSW/czaDW0D4Xj47mIn2
	EgAaJbKZ41bUj2GflwAycfIcRlE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type; s=default; bh=uFZfxPLdNIvUNH7ApWGXWS
	Z/dKw=; b=Mwr0d226uqyfl38O8wY9pNHsVXW/e7XY387x5PjzBuTbXM/DkHkLhj
	rjk8NWCGsa7wnXlWb9aH5CcFW/tn9Qh5FdVQsTRBSrf24HjE2+A+VIDw5bEdbD4o
	EOEK8YQ7tkbcPtBq9au9Gxcup+mP2zvRlbDhYeYIPzGETiC1NjDfo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KAM_OTHER_BAD_TLD,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=helped, UD:work, defunwork, defun.work
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Oleksandr Gavenko <gavenkoa@gmail.com>
Subject: Re: Is it possible to hide emacs-w32 console window?
Date: Mon, 30 May 2016 12:01:00 +0300
Lines: 29
Message-ID: <87zir72a43.fsf@gavenkoa.example.com>
References: <87pos53n6s.fsf@gavenkoa.example.com>	<463b9a2b-cad4-5fe7-f175-1a723c0bcf63@cornell.edu>	<87d1o52fx2.fsf@gavenkoa.example.com>	<75fd4118-49a9-e999-1c7d-6b1ace782fc6@cornell.edu>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
X-IsSubscribed: yes

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

