docs: def get_process(cmd):
      """Get a command process."""
  
      if sys.platform.startswith('win'):
          startupinfo = subprocess.STARTUPINFO()
          startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
          process = subprocess.Popen(
              cmd,
              startupinfo=startupinfo,
              stdout=subprocess.PIPE,
              stderr=subprocess.STDOUT,
              stdin=subprocess.PIPE,
              shell=False
          )
      else:
          process = subprocess.Popen(
              cmd,
              stdout=subprocess.PIPE,
              stderr=subprocess.STDOUT,
              stdin=subprocess.PIPE,
              shell=False
          )
      return process