polysemy-process-0.9.0.0: Polysemy effects for system processes
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Process.Executable

Description

 
Synopsis

Documentation

resolveExecutable Source #

Arguments

:: Member (Embed IO) r 
=> Path Rel File

Executable name, for $PATH lookup and error messages

-> Maybe (Path Abs File)

Explicit override to be checked for adequate permissions

-> Sem r (Either Text (Path Abs File)) 

Find a file in $PATH, verifying that it is executable by this process.