public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "V.99" <v.99@seznam.cz>
To: cygwin@cygwin.com
Subject: Re: Setup suggestion: Check for running processes before uninstalling anything.
Date: Wed, 02 Dec 2015 09:49:00 -0000	[thread overview]
Message-ID: <565EBEA8.5070806@seznam.cz> (raw)
In-Reply-To: <113298733.20151202021145@yandex.ru>

On 2.12.2015 0:11, Andrey Repin wrote:
> Greetings, All!
>
> I just got a hard case of stupidity...
> Started Cygwin setup before checking if anything is running Cygwin.
> Guess, what? It indeed did run. However, setup managed to uninstall mintty
> before telling me that there's ssh-pageant running in the background.
> I had to dig up and start shell manually to gracefully shutdown the agent.
>
> I think it would be pretty nice of the Setup to check for running processes
> before starting to make changes to the environment. IMHO.
>
Hi Andrey.

Before updating Cygwin is useful to stop running services (as you 
wrote), to check newer version of Setup, then again resume running services.
It is tedious to do it manually on each update.
So, I wrote a short script that can be useful http://pastebin.com/5rR8pbRe

-- 

.: Vlado :.


--
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:[~2015-12-02  9:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 23:20 Andrey Repin
2015-12-02  9:49 ` V.99 [this message]

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=565EBEA8.5070806@seznam.cz \
    --to=v.99@seznam.cz \
    --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).