I have been attempting to do something like:
dune runtest > test.txt
However, whenever I attempt this an empty test.txt file is created. I would like for the output of dune runtest to be saved into test.txt, and ideally for the Terminal to not output anything (the output is only able to be viewed in the file). Any help would be appreciated.