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

2017-09-01 Thread Tony Morehen
Your version is dated Aug 21.  Input() was added Aug 22. TerminalView has been updated quite a lot recently.  You should update to the current commit. On 2017-09-01 11:09 AM, Hans Lehmann wrote: Am 01.09.2017 um 15:05 schrieb Tony Morehen: If you're using a recent commit, you can use hTermin

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

2017-09-01 Thread Hans Lehmann
Am 01.09.2017 um 15:05 schrieb Tony Morehen: 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. Hello Tony, [System] Gambas=3.10.90 5bb80e5 (master) OperatingSystem=Linux Kernel=3.19.0-32-generic Arch

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

2017-09-01 Thread Tony Morehen
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

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

2017-09-01 Thread Hans Lehmann
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