Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: errors should not HALT to the console but QUIT to the system
Fixes issue #2215. It is just a small modification, where in case of script error, the script QUITs instead of HALTing in REPL console. When `system/options/quiet = FALSE`, than there is 3s delay, before automatic quit. During this time user may use CTRL-C to HALT and enter the REPL for in place debugging. When used `--halt` option, it enters the REPL as it was before without any wait. (Don't know if it is the best way, but I'm not sure if a new option is really needed for forcing REPL in case of errors).
- Loading branch information
61c1383
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to: metaeducation/rebol-issues#2215
61c1383
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also note, that when running script with
--do
and orscript
, thansystem/options/quiet
istrue
by default, so there is not default delay before quit!Rebol3/src/mezz/sys-start.r
Line 43 in 61c1383