MattBlack85 / astro_monitor

A small program to help you during your astrophotography sessions
8 stars 0 forks source link

Rework init #12

Closed MattBlack85 closed 2 years ago

MattBlack85 commented 2 years ago

A bool was used to discriminate wether it was the first time the program was running or was already a real check to see if kstars is alive. Now the program checks immediately before starting the loop if we have kstars available and the bool flag has no sense in this context. Additionally we are preparing to use the process PID to work further and speed things up when looking for processes.