summaryrefslogtreecommitdiff
path: root/modules/intents/process.py
blob: 0bed4413087489047fb42c8247b067f2e86dac4e (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):
    if "workspace" in data:
        HesNavigate(data, config)

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