Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- withForkWait :: IO () -> (IO () -> IO a) -> IO a
- readAndDecodeCreateProcess :: CreateProcess -> IO (ExitCode, Text, Text)
Documentation
withForkWait :: IO () -> (IO () -> IO a) -> IO a Source #
The code below is taken from System.Process which unfortunately does not export this function
readAndDecodeCreateProcess :: CreateProcess -> IO (ExitCode, Text, Text) Source #
Like readCreateProcess, but ignores stdin and decodes bytes, assuming utf-8