def start_flightbox(): global flightbox_command print("Starting flightbox inside screen") s = DetachedScreen('flightbox', command=flightbox_command, initialize=True) s.disable_logs() time.sleep(5.0)
def start_ogn(): global ogn_path print("Starting OGN inside screen") s_rf = DetachedScreen('ogn_rf', command="{} {}".format(path.join(ogn_path, 'ogn-rf'), path.join(ogn_path, 'ogn.conf')), initialize=True) s_rf.disable_logs() s_decode = DetachedScreen('ogn_decode', command="{} {}".format(path.join(ogn_path, 'ogn-decode'), path.join(ogn_path, 'ogn.conf')), initialize=True) s_decode.disable_logs()
def start_flightbox(): global flightbox_command print("Starting flightbox inside screen") s = DetachedScreen('flightbox', command=flightbox_command, initialize=True) s.disable_logs()