import os from typing import Dict from .sway import HesNavigate from ..config import Config def HesExecuteProcess(data: Dict, config: Config): if "workspace" in data: HesNavigate(data, config) os.popen(data["process"].strip())