We have a CLI application with business logic inside, written in python. We want to build native GUI apps in both windows and mac, providing the funcionality of the CLI.
What is the best (easy, fast to implement) way to communicate (two-way) between the GUI app and the CLI communication, in a way that the extra code developed in the CLI will work with both windows and mac native apps? CLI and GUI apps will be on the same machine. Calls will be made to the CLI like uploading a file, and feedback will be returned to GUI, like progress, errors, etc.
Any solution is considered: Sockets, Remote procedure calls, any other interprocess communication way, any other obvious(?) but missed solution.
Thank you!