code: def run_in_separated_process(self, code):
      # Run test in a seprated process to avoid stdin conflicts.
      # See: gh-110147
      cmd = [sys.executable, "-c", code]
      subprocess.run(
          cmd,
          check=True,
          capture_output=True,
          creationflags=subprocess.CREATE_NEW_CONSOLE,
      )
  
imports: import os
  import subprocess
  import sys
  import unittest
  from textwrap import dedent
  from test.support import os_helper, requires_resource
  from test.support.os_helper import TESTFN, TESTFN_ASCII
  import _winapi
  import msvcrt
label_desc: Use image node_id 1 for calling the TestConsoleIO obj's underlying member method code with example usage: obj.run_in_separated_process(code) without return types