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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to