Original post

I would like to create an app that runs on the background yet it should be accessed via console commands. For example I’d like it to start by some console command like myprog start, then it should start doing some stuff in the background yet be accessible from console for interaction and commands like myprog pause

The thing is I don’t know how to even google such stuff so even a couple of articles or examples on the topic would be helpful.