delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/23/08:24:39

X-Recipient: archive-cygwin AT delorie DOT 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:references:message-id:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type; q=dns; s=
default; b=YDK0FgfQF1m0kvd0fmqSuCZ9WzDH8meLB5woP7Ypi+Vuo9YiUjVg4
+X/sQo55F2+SFup6eLgu5GhV2dalIiFNLz0FcD0Pgni2sC9VxuhV29XqDVgCjnqP
LqSClzanUorSyV01PjXrZJwzEQXsXtpuAHUc0xJw+PBJpOAMW/q0as=
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:references:message-id:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type; s=default;
bh=fOeRxd3Hrz+h0tH6H2iNymP9j0Y=; b=dbE52Eqqe3y32Gw1gKJHt8mymgrT
4yB3EyFdj3ciPUdEGqEgXetdnXkxo8CvXQYZMOkrKYo/jzQWhrYL5GQdFQUF1Jlu
WkGtxiiAMGAFVkZFTBAbfvYdoaO3GWU9Ii1zm/7twfcSRztm4wSL5iJ4owFHB+ep
+3N4cr8ppOz5JYQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nm25-vm1.bullet.mail.bf1.yahoo.com
References: <1413488630 DOT 82429 DOT YahooMailNeo AT web162806 DOT mail DOT bf1 DOT yahoo DOT com> <544055FF DOT 2030604 AT cs DOT umass DOT edu> <1413517183 DOT 86611 DOT YahooMailNeo AT web162801 DOT mail DOT bf1 DOT yahoo DOT com> <1413517863 DOT 36122 DOT YahooMailNeo AT web162806 DOT mail DOT bf1 DOT yahoo DOT com> <54411638 DOT 2000104 AT cs DOT umass DOT edu> <1413910316 DOT 59036 DOT YahooMailNeo AT web162803 DOT mail DOT bf1 DOT yahoo DOT com> <1245475041 DOT 20141022173600 AT yandex DOT ru> <1414010093 DOT 92003 DOT YahooMailNeo AT web162802 DOT mail DOT bf1 DOT yahoo DOT com> <CAJ1FpuM=aDE0tAPb5Ez_TwW87j8ypBWp_RncETFaDQdNYLYYzA AT mail DOT gmail DOT com> <1606505198 DOT 20141023052833 AT yandex DOT ru> <1414037878 DOT 2285 DOT YahooMailNeo AT web162805 DOT mail DOT bf1 DOT yahoo DOT com>
Message-ID: <1414067059.70749.YahooMailNeo@web162802.mail.bf1.yahoo.com>
Date: Thu, 23 Oct 2014 05:24:19 -0700
From: John Wiersba <jrw32982 AT yahoo DOT com>
Reply-To: John Wiersba <jrw32982 AT yahoo DOT com>
Subject: Re: run.exe flashes non-hidden console window in cygwin64 on Win7Pro-64
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
Doug Henderson <djndnbvg AT gmail DOT com>
In-Reply-To: <1414037878.2285.YahooMailNeo@web162805.mail.bf1.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes

> From: Andrey Repin <anrdaemon AT yandex DOT ru>

>To: Doug Henderson <djndnbvg AT gmail DOT com>; cygwin AT cygwin DOT com 
>Sent: Wednesday, October 22, 2014 9:28 PM
>Subject: Re: run.exe flashes non-hidden console window in cygwin64 on Win7Pro-64
>
>>> Andrey, the flashing console flashes very quickly and I don't know how to slow it down.
>>> It appears to have no title and no contents.
>
>Normally, I just fire up a screen recorder in such cases. But I seems to have
>missed the beginning of a discussion.
>
>> run appears to work correctly when you use it at a cygwin shell prompt.
>
>> run.exe is a cygwin executable; use ldd see the DLLs that it uses.
>
>> Since your shortcut is not starting a windows GUI program, it starts a
>> console window, possibly executing cmd.exe
>
>Depends on the way shortcut is constructed... I don't think it ever touch
>cmd.exe, there's no need to do so. But the console window is really the
>run.exe itself. Most, if not all, of Cygwin applications are in fact "console
>applications" in Windows terms.
>
>> Have you tried changing the shortcut to cause it to open the window
>> minimized? I vaguely remember doing something like that with the
>> cygwin.bat clone I used to start a (non-X windows) rxvt window.
>
>That may at least alleviate the window flashing in the face of a user.

Maybe I'm confused.  Isn't the purpose of run.exe to start a
cygwin program without creating a (visible) console window? 
I can just start a cygwin program directly without the indirection of
run.exe if I don't care about the random flashing console window.

From the run.exe manpage: 
  run will do this for you.  It works as intermediate and starts a program but makes the console window hidden.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019