Closed openroad-robot closed 1 week ago
@gadfort if you have any smarter ideas I'm open.
clang-tidy review says "All clean, LGTM! :+1:"
@maliberty would it be possible to add a boolean to the scriptwidget to indicate an exit is happening and then just toggle it from the tclwidget? That would atleast avoid the string comparing and setting the result in tcl.
@gadfort I don't think so because we need to stop TclEval and the only way I can see is to return an error. Since I don't want to print the error I don't see a better way.
Ugly solution to get TCL to stop executing a script containing "exit".
Fixes #5252