process-progress-0.9: Run a process and do reportsing on its progress.

Safe HaskellNone

System.Process.Read.Verbosity

Contents

Synopsis

Documentation

quieter :: MonadIO m => Int -> m a -> m aSource

noisier :: MonadIO m => Int -> m a -> m aSource

withModifiedVerbosity :: MonadIO m => (Int -> Int) -> m a -> m aSource

Process functions controlled by the VERBOSITY level.

runProcess :: (NonBlocking s c, Enum c, MonadIO m) => CreateProcess -> s -> m [Output s]Source

Select from the runProcess* functions in Monad based on a verbosity level.

runProcessF :: (NonBlocking s c, Enum c, MonadIO m) => Maybe (s, s) -> CreateProcess -> s -> m [Output s]Source

A version of runProcess that throws an exception on failure.

Output functions controlled by the VERBOSITY level. We want these

qPutStr :: MonadIO m => String -> m ()Source

qMessage :: MonadIO m => String -> a -> m aSource

qMessageLn :: MonadIO m => String -> a -> m aSource

qBracket :: MonadIO m => String -> m a -> m aSource