delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/02/04:50:07

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=xWNhWPM0WLOriBWV
+03Szs/KEmgSkVpE1Xqou7SOfpGFbUl2I+7EbO8VWsjMzF5IO3MwUmI1rDVUkGUm
RKjBDSh+Sjid7V2s692HknIVtdV2UAgE7qZ+aFMAMXheRUAqzmdj0CzgEJVym1bW
8AW9iU6Z0lSCq0aNnMI4LXIneNg=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=wB/2mlgj0GxsgHCFZ6alTX
L29dE=; b=Z/nv76mHsiCzIAjO97lTdS3AkhZbc/yMVRC5v3RwDfdTSIE5I1sKMZ
PMlOqGePBdEjDjZPWjtIS5NS67lIcIeHr++yV7YQCaBr7UdyKdhJMHafDGemShyt
758P9Hs8l4fYcLcV/ZV1wEtp02Dsy1g84Dne4Bld+TkttzhK+lKDY=
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=2.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL autolearn=no version=3.3.2
X-HELO: pbmail.coopexsoft.sk
DKIM-Filter: OpenDKIM Filter v2.10.3 pbmail.coopexsoft.sk ACB149F734
Subject: Re: Setup suggestion: Check for running processes before uninstalling anything.
To: cygwin AT cygwin DOT com
References: <113298733 DOT 20151202021145 AT yandex DOT ru>
From: "V.99" <v DOT 99 AT seznam DOT cz>
Message-ID: <565EBEA8.5070806@seznam.cz>
Date: Wed, 2 Dec 2015 10:49:28 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <113298733.20151202021145@yandex.ru>
X-CoopexSoftPB-MailScanner-Information: Please contact the ISP for more information
X-CoopexSoftPB-MailScanner-ID: ACB149F734.A5D8D
X-CoopexSoftPB-MailScanner: Found to be clean
X-CoopexSoftPB-MailScanner-From: v DOT 99 AT seznam DOT cz

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

- Raw text -


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