Setup suggestion: Check for running processes before uninstalling anything.

V.99 v.99@seznam.cz
Wed Dec 2 09:49:00 GMT 2015


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



More information about the Cygwin mailing list