I have two python scripts.
The first script is used to process images.
The second script has a function interrupt. If the user pushes the button the interrupt picks up the signal and takes pictures.
I want to do a scheduling between the two scripts.
The raspberry executes the first script but if the interrupt of the other script picks up a signal, the raspberry must stop the execution of the second script until the first script finishes its task.
Can you help me to do that please? Have you any idea ??
Thank you in advance