def move_to(self, new_process_class, *args):
    self.sub_processor = new_process_class(self.switch_configuration, self.terminal_controller, self.logger, self.piping_processor, *args)
    self.sub_processor.show_prompt()
def move_to(self, new_process_class, *args):
    self.sub_processor = new_process_class(self.switch_configuration, self.terminal_controller, self.logger, self.piping_processor, *args)
    self.sub_processor.show_prompt()