Skip to content

Commit 6563b9a

Browse files
committed
Merge pull request #239 from sschuberth/taskkill
git-gui/gitk: Do not use a Cygwin-specific kill flag on Windows
2 parents d818c04 + 63ea55f commit 6563b9a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

git-gui/git-gui.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -648,9 +648,7 @@ proc kill_file_process {fd} {
648648
649649
catch {
650650
if {[is_Windows]} {
651-
# Use a Cygwin-specific flag to allow killing
652-
# native Windows processes
653-
exec kill -f $process
651+
exec taskkill /pid $process
654652
} else {
655653
exec kill $process
656654
}

0 commit comments

Comments
 (0)