Переделал сигналы и сочетния
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m23s

This commit is contained in:
2025-10-30 14:53:30 +03:00
parent 64287f1a01
commit cff798a9f1
3 changed files with 5 additions and 5 deletions

View File

@@ -900,9 +900,9 @@ proc Run {w filePath} {
set f [open [file join [file dirname $filePath] errors] "r"]
set processPID [pid $pipe]
bind $w.frame.text <Control-c> [list SendSignal $processPID "SIGKILL"]
bind $w.frame.text <Control-c> [list SendSignal $processPID "SIGINT"]
bind $w.frame.text <Control-z> [list SendSignal $processPID "SIGTSTP"]
bind $w.frame.text <Control-d> [list SendSignal $processPID "SIGINT"]
bind $w.frame.text <Control-d> [list SendSignal $processPID "SIGKILL"]
# set pipe [open "|$command $filePath" "r"]
# set f [open [file join ~ tmp errors] "r"]