Wrapped an exit around restart-command-processor to kill all threads.

This commit is contained in:
mainzelm 2001-01-11 15:03:30 +00:00
parent 3e2a109780
commit 4643aa5362
2 changed files with 9 additions and 10 deletions

View File

@ -167,7 +167,6 @@
(interrupt-handler-ref int))
(define (%install-scsh-handlers interactive?)
(display "install-scsh-handlers???\n")
(do ((int 0 (+ int 1)))
((= int number-of-interrupts))
(set-interrupt-handler

View File

@ -259,15 +259,15 @@
(interaction-environment)))
(cond ((not term-switch) ; -- interactive
(restart-command-processor
args
context
(lambda ()
(display "welcome to scsh-0.6 alpha "
(current-output-port))
(newline (current-output-port))
(in-package (user-environment) '()))))
(exit
(restart-command-processor
args
context
(lambda ()
(display "welcome to scsh-0.6 alpha "
(current-output-port))
(newline (current-output-port))
(in-package (user-environment) '())))))
((eq? term-switch 'c)
(eval (read-exactly-one-sexp-from-string term-val)