This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [PATCH setup 2/2] List and offer to kill processes preventing a file from being written
On Wed, Feb 06, 2013 at 08:03:03PM +0000, Jon TURNEY wrote:
>- Enumerate processes preventing a file from being written
>- Replace the MessageBox reporting an in-use file with a DialogBox reporting the
>in-use file and the processes which are using that file
>- Offer to kill processes which have files open, trying /usr/bin/kill with SIGTERM,
>then SIGKILL, then TerminateProcess
>
>v2:
>- Use TerminateProcess directly, rather than using kill -f, so we will work even
>if kill doesn't
>- Fix formatting: spaces before parentheses for functions and macros
Thanks for doing this. I know that the setup source code doesn't follow this
rule consistently.
Please check in. This looks like a really nice change.
Thanks.
cgf