[Gambas-user] Shell Wait without Freeze Program
hasanmerkit at outlook.com
Sun May 16 01:27:59 CEST 2021
How i can make waiting Shell without freezes program?
When i use this:
Shell “bash /etc/teteosnet/temp/piluxupdate_beta1.sh” Wait
Application executing this SH file, it’s fine but while executing, after few seconds OS warn user “My Gambas3 App not responsing. [Wait] [Force Quit]”
Just i want make my program wait to end of script, but not freeze.
Private Executing As Boolean = False
Public Sub Form_Open()
Executing = True
Shell “meow.sh” Wait
Executing = False
Public Sub Form_Close()
If Executing Then
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User