Closed maul-esel closed 5 years ago
Flush after printing when using echo. Otherwise the output only appears after another command produces output.
echo
This is especially critical when interacting programmatically with the solver via the command line, e.g. in the manner of scalaSMT.
cc @franck44
Thanks for reporting! I went ahead and fixed it myself in a4a5ca6ecf59b100d3c11cc2f6cc2b1212f085e6 so that you don't have to jump through the hoops of signing a one-line commit.
Thanks :+1:
Flush after printing when using
echo
. Otherwise the output only appears after another command produces output.This is especially critical when interacting programmatically with the solver via the command line, e.g. in the manner of scalaSMT.