Scripts can actually do work when they get imported (not just register commands) and you might for instance `command script import` a module that's going to do some work & present output in a breakpoint command or stop hook. But breakpoint commands and stop hooks are not interactive. So I'm a little hesitant about ganging "suppress output" and "interactive".
Jim > On Jul 7, 2021, at 1:47 PM, Greg Clayton via Phabricator > <revi...@reviews.llvm.org> wrote: > > clayborg added a comment. > > I think the only time we should not be silent is when the user types "command > script import" from an interactive terminal. If this command comes in from > the equivalent of "command source ...", sourcing init files then that > IOHandler isn't interactive and we can easily suppress this. > > > CHANGES SINCE LAST ACTION > https://reviews.llvm.org/D105327/new/ > > https://reviews.llvm.org/D105327 > _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits