[Python API] Support directing STDOUT and STDERR when using Logic2 API

To be honest, I’m not exactly sure how our stdout/stderr is setup right now. One thing that complicates our output is that although the launched binary produces some output, most of the logging our application does is produced by a subprocess. I was looking into this somewhat recently, because it’s particularly hard to access the complete log output on Linux, even when running the application from the command line.

What operating system are you using?

Unfortunately, I won’t have time to look into this for a while, the whole team is swamped at the moment. However, it might be worth checking to see if stdout/stderr can be captured from all of our application’s sub processes, rather than just the main process itself.