is there any solution at all for this case?
To disconnect a program / a process from HA.
I have some ffmpeg tasks and some scripts ( camera monitoring system ) which should continue to run even if HA has to be restarted or crashes.
the command line / shell integration is very frustrating.
I moved 90/129 rules from my 6 years built home automation (pimatic) to HA and all the shell stuff takes the most time.