chatty-0.7.0.1: Some monad transformers and typeclasses for abstraction of global dependencies.
System.Chatty.Spawn
Description
Provides a typeclass for process spawning.
Synopsis
class Monad m => ChSpawn m where Source #
Class for all (real or pseudo) process-spawning monads.
Minimal complete definition
mspw, mah
Methods
mspw :: String -> [String] -> Either Handle String -> m (Int, String, [Handle]) Source #
Spawn process
mah :: String -> m Bool Source #
Accept handle as input?
Instances
mspw :: String -> [String] -> Either Handle String -> IO (Int, String, [Handle]) Source #
mah :: String -> IO Bool Source #
mspw :: String -> [String] -> Either Handle String -> SpawnOverlayT m (Int, String, [Handle]) Source #
mah :: String -> SpawnOverlayT m Bool Source #
spawn :: (ChFinalizer m, ChScanner m, ChPrinter m, ChSpawn m, Functor m) => String -> [String] -> m Int Source #