Skip to content

Commit bad4e6e

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 11d4909 + 9d00d10 commit bad4e6e

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
@@ -669,9 +669,7 @@ proc kill_file_process {fd} {
669669
670670
catch {
671671
if {[is_Windows]} {
672-
# Use a Cygwin-specific flag to allow killing
673-
# native Windows processes
674-
exec kill -f $process
672+
exec taskkill /pid $process
675673
} else {
676674
exec kill $process
677675
}

0 commit comments

Comments
 (0)