After facing issues with Big Sur on an M1 Mac, the following approach was implemented via
launchctl
and osascript
to ensure an app is restarted if found to not be running.
This particular app was running stable on Catalina, and this approach is a temporary workaround until the root cause can be addressed. YMMV.