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

Safe HaskellNone

System.Process.Read.Monad

Contents

Description

A perhaps over-engineered set of wrappers around readProcessChunks to run processes with a variety of echoing options and responses to failure.

Synopsis

Run processes with various types and amounts of feedback

runProcessS :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Run silently

runProcessQ :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Command line trace only.

runProcessD :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Dot output

runProcessV :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Echo output

runProcessSF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Exception on failure

runProcessQF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

runProcessDF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Dot output and exception on failure

runProcessVF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]Source

Echo output and exception on failure

runProcessSE :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => Maybe (a, a) -> CreateProcess -> a -> m [Chunk a]Source

Exception and echo on failure

runProcessQE :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => Maybe (a, a) -> CreateProcess -> a -> m [Chunk a]Source

Exception and echo on failure

runProcessDE :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => Maybe (a, a) -> CreateProcess -> a -> m [Chunk a]Source

Dot output, exception on failure, echo on failure. Note that runProcessVE isn't a useful option, you get the output twice. VF makes more sense.