def command_map(args):
 if (multiprocessing.current_process().name != 'MainProcess'):
  logger.initMultiprocessing()
 try:
  return command(*args)
 except Exception:
  logger.exception('Encoder raised an exception.')
  return False

def command_map ( args ) : if ( multiprocessing . current_process ( ) . name != 'MainProcess' ) : logger . initMultiprocessing ( ) try : return command ( * args ) except Exception : logger . exception ( 'Encoder raised an exception.' ) return False
wrapper for the [multiprocessing .