Question

I am looking to have a MML (man machine language) console written in Python as the only entry point to control and monitor a back-end process. Basically will be able to:

  • attach to an existing back-end process
  • if back-end process is not running, still open console and be able to spawn back-end process (by introducing the correct command)
  • auto-complete permitted commands
  • be able to change back-end process behavior based on the introduced commands

What would be the best way to achieve this? How to communicate the back-end process with a console that can be opened and closed without killing the back-end process, by this I mean that the console would not be the parent of that process.

Needs to be written in Python and will run on a CentOS, maybe some OS tools can help to communicate processes?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top