def start_listener(): cmd = 'python {}'.format( op.join(mmvt_utils.current_path(), 'addon_listener.py')) listener_in_queue, listener_out_queue = mmvt_utils.run_command_in_new_thread( cmd) return listener_in_queue, listener_out_queue
def start_listener(): cmd = 'python {}'.format(op.join(mmvt_utils.current_path(), 'addon_listener.py')) listener_in_queue, listener_out_queue = mmvt_utils.run_command_in_new_thread(cmd) return listener_in_queue, listener_out_queue