This is the mail archive of the
mailing list for the Cygwin project.
Re: run.exe flashes non-hidden console window in cygwin64 on Win7Pro-64
- From: John Wiersba <jrw32982 at yahoo dot com>
- To: Doug Henderson <djndnbvg at gmail dot com>, cygwin <cygwin at cygwin dot com>
- Date: Thu, 23 Oct 2014 13:24:04 -0700
- Subject: Re: run.exe flashes non-hidden console window in cygwin64 on Win7Pro-64
- Authentication-results: sourceware.org; auth=none
- 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> <CAJ1FpuNYaO1gxjy8b7Axu=RJtr95uCvFLTK=JDLZBdfjJ2zW6Q at mail dot gmail dot com>
- Reply-to: John Wiersba <jrw32982 at yahoo dot com>
> From: Doug Henderson <email@example.com>
>On 21 October 2014 10:51, John Wiersba wrote:
>> I'm trying to use run.exe to avoid a flashing console window, but it is not working on
>> my cygwin64 install on Win7Pro-64. This is a fresh install from 10/20/2014. I've
>> attached my cygcheck.out. I've tried the following windows shortcuts and all cause a
>> console window to briefly flash (in the case of mintty a console window flashes before
>> the mintty terminal is displayed).
>> D:\cygwin\bin\run.exe /bin/bash -c "echo hi"
>> D:\cygwin\bin\run.exe /bin/env -i PATH=/bin bash --norc -c "echo hi"
>> D:\cygwin\bin\run.exe /bin/env -i PATH=/bin mintty bash --norc
>> Since hiding the console window is the main purpose of run.exe, it seems that it is
>> badly broken for Win7Pro-64.
>Short answer: minimize the shortcut window.
>Long answer: In windows explorer, right click on the shortcut and
Thanks, Doug. I did that (minimize the shortcut) which makes it almost unnoticeable.
That's an acceptable work-around for me.
Is this not a bug in run.exe? Run.exe documents a hidden console window, but it sounds
like "flashing and then hidden console window, unless you externally minimize the window
by minimizing the shortcut" would be a more accurate description. Perhaps there no
(easy) way of run.exe doing this?
Is there a use-case for run.exe besides its use in shortcuts? If not, then it would be
even more handy for run.exe to do the minimizing/fully-hiding of the console window.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple