mirror of
https://github.com/git/git.git
synced 2026-02-04 23:16:38 +00:00
Merge pull request #239 from sschuberth/taskkill
git-gui/gitk: Do not use a Cygwin-specific kill flag on Windows
This commit is contained in:
@@ -648,9 +648,7 @@ proc kill_file_process {fd} {
|
||||
|
||||
catch {
|
||||
if {[is_Windows]} {
|
||||
# Use a Cygwin-specific flag to allow killing
|
||||
# native Windows processes
|
||||
exec kill -f $process
|
||||
exec taskkill /pid $process
|
||||
} else {
|
||||
exec kill $process
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user