code: def command_run(self, command):
      p = subprocess.Popen(
          command,
          stdout=subprocess.PIPE,
          stdin=subprocess.PIPE,
          stderr=subprocess.PIPE,
          cwd=self.temp_dir,
      )
      return p
  
file_path: datmo/datmo/cli/tests/test_main.py
imports: import os
  import tempfile
  import platform
  import subprocess
  from datmo.core.util.misc_functions import pytest_docker_environment_failed_instantiation
label_desc: Use image node_id 2 for calling the TestMain obj's underlying member method code with example usage: obj.command_run(command) and returns: p