code: def build_process_isolation_temp_dir(self):
          '''
          Create a temporary directory for process isolation to use.
          '''
          path = tempfile.mkdtemp(prefix='ansible_runner_pi_', dir=self.process_isolation_path)
          os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
          atexit.register(shutil.rmtree, path)
          return patf build_process_isolation_temp_dir(self):
          '''
          Create a temporary directory for process isolation to use.
          '''
          path = tempfile.mkdtemp(prefix='ansible_runner_pi_', dir=self.process_isolation_path)
          os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
          atexit.register(shutil.rmtree, path)
          return path
docs: Create a temporary directory for process isolation to use.