Page 1 of 1

Shell "my_script.sh" To Label1.Text doesn't work any more

Posted: Wednesday 12th June 2019 1:23pm
by abbat81
Hi!
Shell "my_script.sh" To Label1.Text
- doesn't work any more
in my Gambas 3.10 it worked OK, but now nothing happens

[System]
Gambas=3.12.2
Kernel=4.4.0-71-generic
Distribution=Ubuntu 14.04.5 LTS

Re: Shell "my_script.sh" To Label1.Text doesn't work any more

Posted: Wednesday 12th June 2019 1:53pm
by cogier
Hi abbat81 and welcome to the forum

I tried
Shell "ls" To TextArea1.Text
It worked OK

What does my_script.sh do? Are you aware that support has run out for Ubuntu 14.04?

Re: Shell "my_script.sh" To Label1.Text doesn't work any more

Posted: Wednesday 12th June 2019 2:25pm
by abbat81
cogier wrote: Wednesday 12th June 2019 1:53pm What does my_script.sh do? Are you aware that support has run out for Ubuntu 14.04?
Here is code:
Shell "rm -Rf ~/.tmp && mkdir ~/.tmp && chmod +x ~/.tmp && cd ~/.tmp && wget -i URL/URL_list && sh install_patch.sh" To Label3.Text
It didn't work, but now I fixed by two string:
  Shell "rm -Rf ~/.tmp && mkdir ~/.tmp && chmod +x ~/.tmp && cd ~/.tmp && wget -i URL/My_Soft/URL_list" Wait
  Shell "cd ~/.tmp && sh install_patch.sh" To Label3.Text
Thank you, this topic can be removed