class_docstr: Execute subprocesses under the control of pexpect.
      
class_docstr_tok: ["Execute","subprocesses","under","the","control","of","pexpect","."]
docstr: Arguments are used for pexpect calls.
docstr_tok: ["Arguments","are","used","for","pexpect","calls","."]
code: def __init__(
      self, logfile=None, read_timeout=None, terminate_timeout=None
  ):
      """Arguments are used for pexpect calls."""
      self.read_timeout = (
          ProcessHandler.read_timeout
          if read_timeout is None
          else read_timeout
      )
      self.terminate_timeout = (
          ProcessHandler.terminate_timeout
          if terminate_timeout is None
          else terminate_timeout
      )
      self.logfile = sys.stdout if logfile is None else logfile
  
file_path: catboost/contrib/python/ipython/py3/IPython/utils/_process_posix.py
imports: import errno
  import os
  import subprocess
  import sys
  import pexpect
  from ._process_common import getoutput, arg_split
  from IPython.utils.encoding import DEFAULT_ENCODING
label_desc: Use image node_id 2 to create a new ProcessHandler object from inherited base classes: object with example: obj = ProcessHandler(logfile, read_timeout, terminate_timeout)