I'm making a wrapper for a minecraft server console with Go. It uses os/exec to run the server and process.StdoutPipe() for realtime output from the subprocess.
But, I can't get it to display the colors for some reason. When I run the server directly from the terminal, colors work, but it doesn't work at all when I run it from Go.
What's more is there's no color codes on the log files either when I run it from Go. But running it directly from the terminal, the log file is absolutely messed up with color codes. I really don't get how that happens.
Is there any way to fix this?
Thanks!