[Gretl-devel] append and sleep
Allin Cottrell
cottrell at wfu.edu
Fri Jan 19 10:24:46 EST 2007
On Fri, 19 Jan 2007, Sven Schreiber wrote:
> Allin Cottrell schrieb:
>> 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.
Duh! You're quite right. fork(), execl() and friends are a bit
of a mystery to me, but we were already waiting for the child to
exit on Linux. Now I just need to get that working on Windows.
Next questions: Is there a useful role for a non-waiting variant
of "!" on Linux? Which should be the default, waiting or
non-waiting?
Allin.
More information about the Gretl-devel
mailing list