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

Polysemy.Process.Data.ProcessOptions

Description

Data type containing options for processes.

Synopsis

Documentation

data ProcessOptions Source #

Controls the behaviour of Process interpreters.

Constructors

ProcessOptions 

Fields

  • discard :: Bool

    Whether to discard output chunks if the queue is full.

  • qsize :: Int

    Maximum number of chunks allowed to be queued for each of the three standard pipes.

  • kill :: ProcessKill

    What to do if the process hasn't terminated when exiting the scope.