mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Update the close-*.ps1 scripts
This commit is contained in:
@ -11,5 +11,9 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
taskkill /im GitExtensions.exe
|
||||
$result = TaskKill /im GitExtensions.exe
|
||||
if ($result -ne 0) {
|
||||
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close Git Extensions"
|
||||
exit 1
|
||||
}
|
||||
exit 0 # success
|
||||
|
Reference in New Issue
Block a user