Safe Haskell | None |
---|---|
Language | Haskell98 |
Re-export all symbols and instances of the process-extras package.
- class ListLikeIO a c => ListLikeProcessIO a c where
- forceOutput :: a -> IO a
- readCreateProcessWithExitCode :: ListLikeProcessIO a c => CreateProcess -> a -> IO (ExitCode, a, a)
- readProcessWithExitCode :: ListLikeProcessIO a c => FilePath -> [String] -> a -> IO (ExitCode, a, a)
- showCreateProcessForUser :: CreateProcess -> String
- showCmdSpecForUser :: CmdSpec -> String
Documentation
class ListLikeIO a c => ListLikeProcessIO a c where Source
forceOutput :: a -> IO a Source
ListLikeProcessIO String Char | Like |
ListLikeProcessIO ByteString Word8 | Like |
ListLikeProcessIO ByteString Word8 | Like |
ListLikeProcessIO Text Char | Like |
ListLikeProcessIO Text Char | Like |
readCreateProcessWithExitCode :: ListLikeProcessIO a c => CreateProcess -> a -> IO (ExitCode, a, a) Source
readProcessWithExitCode Source
:: ListLikeProcessIO a c | |
=> FilePath | command to run |
-> [String] | any arguments |
-> a | standard input |
-> IO (ExitCode, a, a) | exitcode, stdout, stderr |
Like readProcessWithExitCode
, but with generalized input and output type.
showCreateProcessForUser :: CreateProcess -> String Source
System.Process utility functions.