You can customize the macOS Console's log window to change the way it behaves. Here's how to adjust it for your needs. macOS's Console app is a utility that allows you to view system-wide logs, crash ...
I don't know if you'll find it satisfying, but I recently did some work where I created a child process that I controlled using standard input and output. I referenced this MSDN article: How to spawn ...