Is there a way to capture the output written to the console from a Run program statement?