[cvsnt] Best way to abort cvs.exe?

Hartmut Honisch hartmut_honisch at web.de
Thu Nov 6 09:57:42 GMT 2003


What's the best way to abort a cvs operation, i.e. give cvs.exe the
opportunity to terminate gracefully?

There are several options that I'm aware of:

- Send WM_CLOSE to the console window (doesn't work on Win9x NT AFAIK)
- User TerminateProcess()
- Send Ctrl-C to the console window

My guess is that Ctrl-C is the best choice, because cvs.exe traps Ctrl-C and
performs some cleanup operations before exiting. Is that right?

-Hartmut



More information about the cvsnt mailing list