From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115211 invoked by alias); 2 Dec 2015 09:49:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 115193 invoked by uid 89); 2 Dec 2015 09:49:53 -0000 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 Received: from pbmail.coopexsoft.sk (HELO pbmail.coopexsoft.sk) (213.181.128.199) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Dec 2015 09:49:51 +0000 Received: from [192.168.88.32] (unknown [10.10.102.29]) by pbmail.coopexsoft.sk (Postfix) with ESMTPSA id ACB149F734 for ; Wed, 2 Dec 2015 10:49:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 pbmail.coopexsoft.sk ACB149F734 Subject: Re: Setup suggestion: Check for running processes before uninstalling anything. To: cygwin@cygwin.com References: <113298733.20151202021145@yandex.ru> From: "V.99" Message-ID: <565EBEA8.5070806@seznam.cz> Date: Wed, 02 Dec 2015 09:49:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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.99@seznam.cz X-SW-Source: 2015-12/txt/msg00019.txt.bz2 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