I have a linux console application which behaves in a similar way to bash in that it receives commands while it's running in the same way and I want to use it via Python (use python to send inputs and receive outputs to/from the application while it’s running).
The application in question is custom Minecraft server software, it does not appear to have a useable API/SDK for my needs
How would I be able to run it, capture its output and interact with it (Enter commands into the program) using Python code.