Add BATCHEND callback
This commit is contained in:
1
exebuf.c
1
exebuf.c
@ -296,6 +296,7 @@ int exeBufProcess(pExeBuf self, SicsInterp * pSics,
|
||||
DeleteDynString(command);
|
||||
if (SCGetInterrupt(pCon) >= eAbortBatch) {
|
||||
SCWrite(pCon, "ERROR: batch processing interrupted", eError);
|
||||
InvokeCallBack(pCall, BATCHEND, self->name);
|
||||
SetStatus(eEager);
|
||||
if (pCall != NULL) {
|
||||
InvokeCallBack(pCall, BATCHEND, self->name);
|
||||
|
Reference in New Issue
Block a user