Re: [Gambas-user] App idle with long loops

2016-10-12 Thread Benoît Minisini
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

Re: [Gambas-user] App idle with long loops

2016-10-12 Thread Charlie
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

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Jorge Carrión
Thanks to every one for the information. I think I have enough to make my proyect more usable. Best Regards 2016-10-09 18:40 GMT+02:00 Tobias Boege : > On Sun, 09 Oct 2016, Jorge Carrión wrote: > > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > > > On 8/10/2016 19:09 μμ, Tobias Boege w

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Tobias Boege
On Sun, 09 Oct 2016, Jorge Carrión wrote: > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > On 8/10/2016 19:09 μμ, Tobias Boege wrote: > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > > >> Hello, > > >> > > >> i have very long (time consuming) For loops and my app is frozen until > >

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Fabien Bodard
and also the mandelbrot example use the task class -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Fabien Bodard
2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > On 8/10/2016 19:09 μμ, Tobias Boege wrote: >> On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: >>> Hello, >>> >>> i have very long (time consuming) For loops and my app is frozen until >>> loop is finished. >>> >>> for example i wget urls with a cus

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Karl Reinl
Am Sonntag, den 09.10.2016, 15:19 +0200 schrieb Jorge Carrión: > It's an empty proyect, I'm afraid... > Thanks for the trying. > > Regards > > 2016-10-09 14:36 GMT+02:00 Charlie Reinl : > > > Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carrión: > > > Is there any example of task fork u

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Jorge Carrión
It's an empty proyect, I'm afraid... Thanks for the trying. Regards 2016-10-09 14:36 GMT+02:00 Charlie Reinl : > Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carrión: > > Is there any example of task fork use? I have a proyect who sending > massive > > e-mails to our customers and I gue

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Charlie Reinl
Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carrión: > Is there any example of task fork use? I have a proyect who sending massive > e-mails to our customers and I guess that task can be a good solution... > > Regards > > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > On 8/10/2

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Jorge Carrión
Is there any example of task fork use? I have a proyect who sending massive e-mails to our customers and I guess that task can be a good solution... Regards 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > On 8/10/2016 19:09 μμ, Tobias Boege wrote: > > On Sat, 08 Oct 2016, Demosthenes Koptsis

Re: [Gambas-user] App idle with long loops

2016-10-08 Thread Demosthenes Koptsis
On 8/10/2016 19:09 μμ, Tobias Boege wrote: > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: >> Hello, >> >> i have very long (time consuming) For loops and my app is frozen until >> loop is finished. >> >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To >> sOUTPUT >> >>

Re: [Gambas-user] App idle with long loops

2016-10-08 Thread Tobias Boege
On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > Hello, > > i have very long (time consuming) For loops and my app is frozen until > loop is finished. > > for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To > sOUTPUT > >'get urls >For i = 0 To iDepth > wgetURL

[Gambas-user] App idle with long loops

2016-10-08 Thread Demosthenes Koptsis
Hello, i have very long (time consuming) For loops and my app is frozen until loop is finished. for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To sOUTPUT 'get urls For i = 0 To iDepth wgetURLS(i * 10) Next Public Sub wgetURLS(iStart As Integer) . Shell