summaryrefslogtreecommitdiff
path: root/modules/intents/process.py
blob: 48ade483812bbc7708786978752e1a4405c99165 (plain)
1
2
3
4
5
6
7
8
9
10
11
import os
from typing import Dict
from .sway import HesNavigate
from ..config import Config


def HesExecuteProcess(data: Dict, config: Config) -> None:
    if "workspace" in data:
        HesNavigate(data, config)

    os.popen(data["process"].strip())