[GAP Forum] Load gap file and immediately exit dispitte on errors and breaking loop

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Thu Jun 9 14:57:06 BST 2011


On Thu, Jun 09, 2011 at 05:24:19PM +0400, Максим wrote:
> I try to make gap syntax checker for VIM. And it is necessary for me to exit from GAP after load the file.
> 
> I tried to use such call:
> 
> echo "quit;" | gap -T -q -b error.g
> 
> And GAP didn't exit from breaking loop. 

Maybe try

gap -T -q -b error.g < /dev/null

Cheers,
Bill.



More information about the Forum mailing list