[Gretl-devel] append and sleep

Sven Schreiber svetosch at gmx.net
Fri Jan 19 03:39:00 EST 2007


Allin Cottrell schrieb:
> On Thu, 18 Jan 2007, Ignacio Díaz-Emparanza wrote:
> 
>> You may see my problem in the script below. The function tries to
>> linearize automatically a list os series (interpolate missing
>> observations and correct outliers) trough TRAMO. (It is not finished
>> yet as it has some problems with missing data and unadjusted series).
>> Gretl processes the line "append" some miliseconds before the previous
>> Windows command has finished...
> 
> Ah, I see.  But in that context you'd be better off with a flag to make
> the shell command execute synchronously, i.e. for gretl to wait just as
> long as is needed for the shell command to complete.
> (This might have some relevance to Sven's project too.)
>

I worried about that, too, but I have never had any problems so far. And
returning from the external call sometimes takes quite a while, so I
thought that synchronicity had been taken care of.

So I'm actually quite surprised to hear the opposite. Or is it something
platform-specific? (Only tested on linux so far.)

-sven





More information about the Gretl-devel mailing list