[Gambas-user] App idle with long loops

Benoît Minisini gambas at ...1...
Wed Oct 12 17:59:33 CEST 2016


Le 12/10/2016 à 16:31, Charlie a écrit :
> Hi Dim,
> I thought that as you are using 'wget' the easy way to keep control was to
> use a BASH script which would do the job in the background. I have written a
> bit of code that creates the BASH script and runs it in the background,
> leaving the main program still responsive. Hope it helps.
> WgetFiles.tar <http://gambas.8142.n7.nabble.com/file/n57539/WgetFiles.tar>
> Check out  Gambas.One <https://www.gambas.one/>
>

It's useless to create a bash script to run wget in the background.

Just use Shell or Exec directly. Moreover, with Exec, you avoid running 
a not really needed intermediate shell process.

Regards,

-- 
Benoît Minisini




More information about the User mailing list