Safe Haskell | None |
---|
A perhaps over-engineered set of wrappers around readProcessChunks to run processes with a variety of echoing options and responses to failure.
- runProcessS :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessQ :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessD :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessV :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessSF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessQF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessDF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessVF :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => CreateProcess -> a -> m [Chunk a]
- runProcessSE :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => Maybe (a, a) -> CreateProcess -> a -> m [Chunk a]
- runProcessQE :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => Maybe (a, a) -> CreateProcess -> a -> m [Chunk a]
- runProcessDE :: (ListLikePlus a c, Enum c, MonadIO m, c ~ Word8) => Maybe (a, a) -> CreateProcess -> a -> m [Chunk a]
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.