Safe Haskell | Safe-Inferred |
---|
Provides a typeclass for process spawning.
- class Monad m => MonadSpawn m where
- spawn :: (MonadFinalizer m, MonadScanner m, MonadPrinter m, MonadSpawn m, Functor m) => String -> [String] -> m Int
Documentation
class Monad m => MonadSpawn m whereSource
Class for all (real or pseudo) process-spawning monads.
mspw :: String -> [String] -> Either Handle String -> m (Int, String, [Handle])Source
Spawn process
Accept handle as input?
MonadSpawn IO | |
MonadSpawn m0 => MonadSpawn (HandleCloserT m0) | |
MonadSpawn m0 => MonadSpawn (InRedirT m0) | |
MonadSpawn m0 => MonadSpawn (QuietT m0) | |
MonadSpawn m0 => MonadSpawn (HereStringT m0) | |
MonadSpawn m0 => MonadSpawn (RecorderT m0) | |
MonadSpawn m0 => MonadSpawn (OutRedirT m0) | |
MonadSpawn m0 => MonadSpawn (DeafT m0) | |
MonadSpawn m => MonadSpawn (SpawnOverlayT m) | |
MonadSpawn m0 => MonadSpawn (JoinerT m0) | |
MonadSpawn m0 => MonadSpawn (HandleFilterT m0) | |
MonadSpawn m0 => MonadSpawn (BoolFilterT m0) | |
MonadSpawn m0 => MonadSpawn (IntFilterT m0) | |
MonadSpawn m0 => MonadSpawn (HandleArchiverT m0) | |
MonadSpawn m0 => MonadSpawn (BoolArchiverT m0) | |
MonadSpawn m0 => MonadSpawn (IntArchiverT m0) | |
MonadSpawn m0 => MonadSpawn (NullExpanderT m0) | |
MonadSpawn m0 => MonadSpawn (ExpanderT m0) | |
MonadSpawn m0 => MonadSpawn (HistoryT m0) | |
MonadSpawn m0 => MonadSpawn (HtmlPrinterT m0) | |
MonadSpawn m0 => MonadSpawn (AnsiPrinterT m0) |
spawn :: (MonadFinalizer m, MonadScanner m, MonadPrinter m, MonadSpawn m, Functor m) => String -> [String] -> m IntSource
Spawn process