[Gambas-user] Redirect default output to terminalview

gen braga genbraga1 at gmail.com
Mon Jan 27 20:20:37 CET 2020


> > Is It possible to redirect the default output (or even debug) to a
> terminalview?
>
> The output of what? As far as I understand it, the output of any command
> executed in the TerminalView (.Shell or .Exec) will
> automatically be displayed in that view.
>

As I said, the default (or debug) output. The one you get with

Print "something"

Or

Debug "something"

Instead of simply the output from .Shell or .Exec methods.

The Print method can get the job done, but my goal was to redirect any
"print". Like using the "OUTPUT TO" instruction.

Anyway, thanks for your reply, I really missed the print method.

-
Gen

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200127/e8f48a1d/attachment.html>


More information about the User mailing list