public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Paul Maier" <svn-user@web.de>
To: <cygwin@cygwin.com>
Subject: problem with run.exe in Windows-startup (Autostart) directory
Date: Sun, 22 Jul 2012 01:05:00 -0000	[thread overview]
Message-ID: <005501cd67a5$b9938510$2cba8f30$@de> (raw)

Hi,

yesterday I upgraded Cygwin, all packages to current version, and I find a problem in run.exe (it used to work before the upgrade):

When I start a run.exe command manually, it hides fine both, the window and the task bar entry;
but I have 3 scripts containing run.exe commands in the Windows startup (autostart) folder, and there one (only one) script brings
up an unwanted entry in the task bar (the window itself is fine invisible). It is always another one out of the 3 scripts, but each
time at most one (i. e. zero or 1 unwanted entries).
Since I start a server here, that task bar entry stays there all day (and of course there is no visible window attachted to it), and
if I select close, I also shut down the server by this.

This seems a racing condition to me:
If I disconnect the internet LAN cable (then the evaluation of possible connections is much faster) _or_ if I move my mouse up and
down right after Windows login to make the task bar appear and disappear some times, then all autostart run.exe scripts hide their
task bar entries fine.

I have never seen more than 1 such unwanted task bar entry appearing. The first one seems to initialize the environment somehow, so
that the other run.exe instances work as expected.

I also added a 4th script:
run /bin/sleep 10,
That improved the situation in a way, that unwanted task bar entries were less likely to happen, but they still came then and when.

It worked fine with the run.exe that I downloaded 1 year ago.

Thank you for help.

Regards,
  Paul



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

             reply	other threads:[~2012-07-22  1:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22  1:05 Paul Maier [this message]
2012-07-22 14:20 ` Andrey Repin
2012-07-22 16:08   ` AW: " Paul Maier
2012-07-23  1:20     ` Andrey Repin
2012-07-23 19:49       ` AW: " Paul Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005501cd67a5$b9938510$2cba8f30$@de' \
    --to=svn-user@web.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).