Hello,
when running a non-interactive MP instance, how can I detect that the
last executed command was `bye`, `end` or something that causes MetaPost
to quit?
For instance, after
char *line = "bye."
int history = mp_execute(mp, line, strlen(line));
mp_rundata(mp) returns non-zero size data (it returns zero-size data if
I execute another command).
Nicola