code: def prefix_run_command(command, prefix, args):
      if type(command) is not list and type(command) is not tuple:
          raise Exception(
              "The command must be a list or tuple of commands and arguments"
          )
  
      if prefix:
          prefix = prefix.format(args).split()
      else:
          prefix = []
  
      return prefix + command
  
file_path: calamari/calamari_ocr/utils/multiprocessing.py
imports: import os
  import time
  import subprocess
  import logging
  import sys
  from threading import Thread
  from queue import Queue, Empty
label_desc: Use image node_id 1 for calling a global function with example usage: prefix_run_command(command, prefix, args) and returns: unknown