[Gretl-devel] append and sleep

Allin Cottrell cottrell at wfu.edu
Fri Jan 19 13:51:41 EST 2007


On Fri, 19 Jan 2007, Sven Schreiber wrote:

> Allin Cottrell schrieb:
>
>> Next questions: Is there a useful role for a non-waiting 
>> variant of "!" on Linux?  Which should be the default, waiting 
>> or non-waiting?
>
> Waiting!

Yes, that's the right answer ;-)

Here's what now _in_ CVS/Windows snapshot.  On both Linux and 
Windows the default behaviour for "! foo" commands is synchronous 
execution.  Well, that's tested on Linux; it's "supposed to work" 
that way on Windows but is untested.

I've scrapped the "set shell_sync" option, but have added an 
alias, namely "launch", for "!" which induces async operation. 
For example, in the gretl console:

  ! gedit

starts gedit; gretl doesn't do anything and is non-responsive 
until you exit gedit.  But

  launch gedit

starts gedit and the console prompt reappears immediately.

Allin



More information about the Gretl-devel mailing list