This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup suggestion: Check for running processes before uninstalling anything.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]