# Path: src/gwf/backends/exceptions.py
# class BackendError(GWFError):
#     pass


import shutil
import subprocess
from .exceptions import BackendError



def _find_exe(name):
    exe = shutil.which(name)
    if exe is None:

# Path: src/gwf/backends/exceptions.py
# class BackendError(GWFError):
#     pass


# Path: src/gwf/backends/utils.py
import shutil
import subprocess
from .exceptions import BackendError




def _find_exe(name):
    exe = shutil.which(name)
    if exe is None:

        raise BackendError(