docstr: Run CellProfiler with the given arguments list
  
  returns STDOUT from running it.
code: def run_cellprofiler(self, *args):
      """Run CellProfiler with the given arguments list
  
      returns STDOUT from running it.
      """
      if hasattr(sys, "frozen"):
          args = [sys.argv[0]] + list(args)
          return subprocess.check_output(args)
      elif sys.platform == "darwin":
          # hopeless to try and find the right homebrew command
          self.skipTest(
              "Can't start Python properly on OS/X + homebrew"
          )
      else:
          frontend_dir = os.path.dirname(__file__)
          test_dir = os.path.dirname(frontend_dir)
          cellprofiler_dir = os.path.dirname(test_dir)
          root_dir = os.path.dirname(cellprofiler_dir)
          args = [
              sys.executable,
              "-m",
              "cellprofiler",
              "--do-not-fetch",
          ] + list(args)
          return subprocess.check_output(args, cwd=root_dir)
  
file_path: CellProfiler/tests/frontend/test_cellprofiler.py
imports: import os
  import shutil
  import subprocess
  import sys
  import tempfile
  import unittest
  from tests.frontend.modules import get_test_resources_directory
label_desc: Use image node_id 1 for calling the TestCellProfiler obj's underlying member method code with example usage: obj.run_cellprofiler() and returns: subprocess, subprocess