[Gambas-user] TerminalView1.Exec(...)

Tony Morehen tmorehen at ...3602...
Fri Sep 1 15:05:25 CEST 2017


If you're using a recent commit, you can use 
hTerminalView.Input("somecommand\n") to run it automatically or don't 
include "\n" and press ENTER.


On 2017-09-01 03:15 AM, Hans Lehmann wrote:
> Hello,
>
> I currently test the component gb.form.terminal with the class 
> TerminalView. The class works as expected with TerminalView1.Exec 
> (["bash"]) or with TerminalView1.Exec (["sudo", "apt-get", "install", 
> "libxml2-utils"]. Is there a way for TerminalView1.Exec (["bash"]) to 
> pass a command to the terminal and then run it automatically or after 
> ENTER?
>
> Best regards
>
> Hans
> ------------------------------------------------------------------------------ 
>
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list