chatty-0.7.0.0: Some monad transformers and typeclasses for abstraction of global dependencies.

Safe HaskellSafe
LanguageHaskell2010

System.Chatty.Spawn

Description

Provides a typeclass for process spawning.

Synopsis

Documentation

class Monad m => ChSpawn m where Source

Class for all (real or pseudo) process-spawning monads.

Methods

mspw :: String -> [String] -> Either Handle String -> m (Int, String, [Handle]) Source

Spawn process

mah :: String -> m Bool Source

Accept handle as input?

spawn :: (ChFinalizer m, ChScanner m, ChPrinter m, ChSpawn m, Functor m) => String -> [String] -> m Int Source

Spawn process