Inspired by the examples on the SBT github page, I'm trying to redirect the stdout produced from a run in SBT's interactive mode to a file.
Here's my failed attempt:
> run #> file('/Users/dsg/temp/temp.txt') !
I've tried both with and without the !
at the end. I've tried both single and double quotes. Nothing works -- it just behaves as if the #> file(...
is omitted, things only get printed to stdout, no file is created.