I'm currently making my own in-terminal Chess GUI and I've made it compatible with the Universal Chess Interface (UCI) for Chess engines. I'd like to connect the GUI to stockfish.exe (chess engine) by passing UCI commands from my program into the chess engine and receiving output from the separate chess engine process.
How do I approach this problem?