def __init__(self, command, new_max_window=True, title=None, white_bg=False):
        if title is None:
            title = 'pytest-{0}-{1}'.format(os.getpid(), random.randint(1000, 9999)).encode('ascii')  # For FindWindow.
        self.startup_info = StartupInfo(new_max_window=new_max_window, title=title, white_bg=white_bg)
        self.process_info = ProcessInfo()
        self.command_str = subprocess.list2cmdline(command).encode('ascii')
Constructor.
dataset/ETHPy150Open Robpol86/colorclass/tests/screenshot.py/RunNewConsole.__init__