code: def flatc(
      options,
      schema,
      prefix=None,
      include=None,
      data=None,
      cwd=tests_path,
  ):
      cmd = [str(flatc_path)] + options
      if prefix:
          cmd += ["-o"] + [prefix]
      if include:
          cmd += ["-I"] + [include]
      cmd += [schema] if isinstance(schema, str) else schema
      if data:
          cmd += [data] if isinstance(data, str) else data
      result = subprocess.run(cmd, cwd=str(cwd), check=True)
  
imports: import argparse
  import platform
  import subprocess
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: flatc(options, schema, prefix, include, data, cwd) without return types