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

Post

Posted
Rating:
#1 (In Topic #283)
Trainee
Hi!

Code (gambas)

  1. 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
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
Hi abbat81 and welcome to the forum

I tried

Code (gambas)

  1. 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?
Online now: No Back to the top

Post

Posted
Rating:
#3
Trainee

cogier said

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

Here is code:

Code (gambas)

  1. 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:

Code (gambas)

  1.   Shell "rm -Rf ~/.tmp && mkdir ~/.tmp && chmod +x ~/.tmp && cd ~/.tmp && wget -i URL/My_Soft/URL_list" Wait
  2.   Shell "cd ~/.tmp && sh install_patch.sh" To Label3.Text
Thank you, this topic can be removed
Online now: No Back to the top
1 guest and 0 members have just viewed this.