mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-23 12:35:41 +00:00
tool/run: cancel 'run_genode_until forever'
Enables the user to cancel run scripts in 'run_genode_until forever' via 'ctrl+c'. fix #826
This commit is contained in:
parent
4254cb04e1
commit
2e087bf4a9
8
tool/run
8
tool/run
@ -418,7 +418,13 @@ proc wait_for_output { wait_for_re timeout_value running_spawn_id } {
|
||||
|
||||
if {$wait_for_re == "forever"} {
|
||||
set timeout -1
|
||||
interact -i $running_spawn_id
|
||||
interact {
|
||||
\003 {
|
||||
send_user "Expect: 'interact' received 'strg+c' and was cancelled\n";
|
||||
exit
|
||||
}
|
||||
-i $running_spawn_id
|
||||
}
|
||||
} else {
|
||||
set timeout $timeout_value
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user