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?


Andrew Schulman writes:
>> > 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.

I'm not advocating to use these from pre-remove scripts.  What is the
problem you are trying to solve?  While you can run setup with active
Cygwin processes if you really know what you're doing, the long-standing
instructiosn are that you shiould shut down all running Cygwin processes
before running it.

As for my own installers, I can assume pkill to be available as long as
the Cygwin installation is still existing, since these are installed
with all installation option.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


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