[Gambas-user] Redirect default output to terminalview

Brian G brian at westwoodsvcs.com
Mon Jan 27 21:11:59 CET 2020


Hi I am attaching a project source which will redirect all standard output to the terminal view using pipes 

Let me know if you need any other information 

Thank You 
Brian G 


From: "gen braga" <genbraga1 at gmail.com> 
To: "Gambas mailing list" <user at lists.gambas-basic.org> 
Sent: Monday, January 27, 2020 11:20:37 AM 
Subject: Re: [Gambas-user] Redirect default output to terminalview 




> 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 

BQ_BEGIN

BQ_END



----[ http://gambaswiki.org/wiki/doc/netiquette ]---- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200127/053af5b7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testterm-0.0.tar.gz
Type: application/x-compressed-tar
Size: 12175 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200127/053af5b7/attachment-0001.bin>


More information about the User mailing list