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

Максим petRUShkin at yandex.ru
Thu Jun 9 14:24:19 BST 2011


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. 

I found not so good solution like this

cat error.g | gap -T -b -q 

because if it success gap return any output.

-- 
                                         Максим.



More information about the Forum mailing list