From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9247 invoked by alias); 12 Jun 2017 12:51:26 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9183 invoked by uid 89); 12 Jun 2017 12:51:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,KAM_OTHER_BAD_TLD autolearn=no version=3.3.2 spammy=Alt, Creators, creators, cmd.exe X-HELO: blaine.gmane.org Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Jun 2017 12:51:23 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dKOoP-0003Q4-Fs for cygwin@cygwin.com; Mon, 12 Jun 2017 14:51:17 +0200 To: cygwin@cygwin.com From: Oleksandr Gavenko Subject: run.exe + conhost + emacs-w32 / emacsclient-w32 problem. Date: Mon, 12 Jun 2017 12:51:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (cygwin) X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00124.txt.bz2 >From some time I can't run emacs-w32 / emacsclient-w32 via run.exe from cmd.exe or mintty.exe. Actually at the end I use chain of call: ``e.bat`` with: run.exe --quote emacsclient-w32 -a e ``e`` with: cygstart --action=runas run emacs-w32 and then: run --quote emacsclient-w32 ... Now I have a problem to run directly: run emacs-w32 -Q during Windows 10 boot process, in first 1-2 min after boot from Win+R or cmd. After that period of time I am able to start Emacs from Win+R "run emacs-w32 -Q". It opens only from second time from cmd.exe on: run emacs-w32 -Q It never opens from mintty on: run emacs-w32 -Q Procmon showed that: * 'run' creates 'conhost' * 'run' creates 'emacs-w32' * 'conhost' exits * 'run' exits * 'emacs-w32' exits I see no any strange calls in procmon. The most dangerous what was done is "Windows 10 Creators Update" after which I started notice problems. Previously in this list I asked about adding -mwindows to emacs-w32 build process but that can lead to unknown errors so developers refused that option. So I need to `run.exe` to hide console because it pollutes Alt+TAB menu as additional useless item. I believe that reason for emacs "failure" is exit of 'conhost'. Any suggestion? -- 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