diff -r 85efa3d01b16 -r a7e4b412cc7c src/Pure/System/isabelle_system.ML --- a/src/Pure/System/isabelle_system.ML Tue Oct 17 11:52:52 2023 +0200 +++ b/src/Pure/System/isabelle_system.ML Tue Oct 17 12:10:58 2023 +0200 @@ -68,7 +68,7 @@ if head = Bash.server_uuid andalso length args = 1 then loop (SOME (hd args)) s else if head = Bash.server_interrupt andalso null args then - Isabelle_Thread.interrupt_self () + Isabelle_Thread.raise_interrupt () else if head = Bash.server_failure andalso length args = 1 then raise Fail (hd args) else if head = Bash.server_result andalso length args >= 4 then