code: def delete_process_mark(
      folder: str = "learn", mark: Optional[str] = None
  ):
      if mark is None:
          mark = _get_process_mark_id()
      if os.name == "posix":
          p = (
              Path(tempfile.gettempdir())
              .joinpath(f"mindsdb/processes/{folder}/")
              .joinpath(mark)
          )
          if p.exists():
              p.unlink()
  
file_path: mindsdb/mindsdb/utilities/fs.py
imports: import os
  import tempfile
  import threading
  import time
  from pathlib import Path
  from typing import Optional
  import psutil
  from appdirs import user_data_dir
  from mindsdb.utilities import log
label_desc: Use image node_id 8 for calling a global function with example usage: delete_process_mark(folder, mark) without return types