Shouldn't this be `app_args = self.prepare_generic_launch(engine_name, context, app_path, app_args, file_to_open)` ?