samedi 5 juin 2021

CLI for controlling running process

I have designed a python program running in the background which monitors a directory and sends me a notification when certain criteria have been met.

I would like to be able to control this program through a CLI. So I would like to be able to write commands which get passed to the background program to change it's behavior.

How can I accomplish this?

Do I write a second program which can launch the background program/send messages to the background program to change parameters?

Aucun commentaire:

Enregistrer un commentaire