polysemy-process-0.13.0.1: Polysemy effects for system processes
Safe HaskellSafe-Inferred
LanguageGHC2021

Polysemy.Process.SysProcConf

Description

Constructors for SysProcConf, Internal

Synopsis

Documentation

processConfig :: Path Abs File -> [Text] -> SysProcConf Source #

Create a SysProcConf from an executable path and a list of arguments.

shellConfig :: Text -> SysProcConf Source #

Create a SysProcConf from an shell command line.

which :: Member (Embed IO) r => Path Rel File -> [Text] -> Sem r (Maybe SysProcConf) Source #

Create a SysProcConf by looking up an executable in the path, and using the supplied arguments.