ExternalEvaluate
likes to print whatever hits stdout or stderr in the course of evaluation. For example,
In[1]= ExternalEvaluate["Shell", "echo 'hi!'"]
hi!
Out[1]= Success[...]
I'd like to suppress this printed output and just extract the stdout from the actual output. How can I do that?
I would have hoped there would be an analogue of e.g. QuietEcho
or an option for ExternalEvaluate
that controls this, but I couldn't find either.
I'm guessing it will involve finding a way to intercept $Output
somehow?
Print
to be used internally! $\endgroup$