Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data Process
- executableDirectory :: IO FilePath
- waitFor :: Process -> IO ExitCode
- getContentsVerbatim :: Process -> IO String
- getMessage :: MonadIO m => Process -> m String
- readMessage :: (Read r, MonadIO m) => Process -> m r
- putMessage :: MonadIO m => Process -> String -> m ()
- pipeProcess :: FilePath -> [String] -> IO Process
Documentation
getContentsVerbatim :: Process -> IO String Source
Reads the entire output verbatim
getMessage :: MonadIO m => Process -> m String Source
Read the message
readMessage :: (Read r, MonadIO m) => Process -> m r Source
putMessage :: MonadIO m => Process -> String -> m () Source
Put the message