code: def _run(
      self, exe_cmd, arrow_path=None, json_path=None, command="VALIDATE"
  ):
      cmd = [exe_cmd]
  
      if arrow_path is not None:
          cmd.extend(["-a", arrow_path])
  
      if json_path is not None:
          cmd.extend(["-j", json_path])
  
      cmd.extend(["--mode", command])
  
      if self.debug:
          log(" ".join(cmd))
  
      run_cmd(cmd, cwd=ARROW_JS_ROOT)
  
file_path: arrow/dev/archery/archery/integration/tester_js.py
imports: import os
  from .tester import Tester
  from .util import run_cmd, log
  from ..utils.source import ARROW_ROOT_DEFAULT
label_desc: Use image node_id 1 for calling the JSTester obj's underlying member method code with example usage: obj._run(exe_cmd, arrow_path, json_path, command) without return types