code: def executor(download_script, preprocess_script, dataset_path, name):
      if not os.path.exists(os.path.join(dataset_path, name)):
          os.system(
              f'bash -c "bash <(curl -s {download_script}) {dataset_path}"'
          )
          if preprocess_script:
              os.system(
                  f'bash -c "bash <(curl -s {preprocess_script}) {dataset_path}"'
              )
  
file_path: lightning-flash/src/flash/pointcloud/segmentation/datasets.py
imports: import os
  from flash.core.registry import FlashRegistry
  from flash.core.utilities.imports import _TOPIC_POINTCLOUD_AVAILABLE
label_desc: Use image node_id 1 for calling a global function with example usage: executor(download_script, preprocess_script, dataset_path, name) without return types