This is the mail archive of the cygwin-apps 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: do package updates automatically kill running exes?


On 13/08/2015 20:02, Andrew Schulman wrote:
Anyway, that answers my question.  If I want to be sure a process from one of my
packages exits, I need to put a killall into its preremove script.

I've put a "pkill ." in all scripts that run setup (with the requisite
are you sure? y/N).

Ugh, both psmisc (killall) and procps (pkill) aren't in base, so both of
those may fail.

What problem are you trying to solve here?

IMHO you should not kill a process without user confirmation, and there is (currently) no way your preremove script to do that.


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