Safe Haskell | None |
---|---|
Language | Haskell2010 |
Extra functions for creating processes. Specifically variants that automatically check
the ExitCode
and capture the 'stdout'\/'stderr' handles.
- module System.Process
- system_ :: Partial => String -> IO ()
- systemOutput :: String -> IO (ExitCode, String)
- systemOutput_ :: Partial => String -> IO String
Documentation
module System.Process
system_ :: Partial => String -> IO () Source #
A version of system
that throws an error if the ExitCode
is not ExitSuccess
.