| Safe Haskell | None |
|---|
System.Process.Text
- readCreateProcess :: ProcessOutput Text b => CreateProcess -> Text -> IO b
- readCreateProcessWithExitCode :: CreateProcess -> Text -> IO (ExitCode, Text, Text)
- readProcessWithExitCode :: FilePath -> [String] -> Text -> IO (ExitCode, Text, Text)
- readProcess :: FilePath -> [String] -> Text -> IO Text
Documentation
readCreateProcess :: ProcessOutput Text b => CreateProcess -> Text -> IO bSource
readCreateProcessWithExitCodeSource
Arguments
| :: CreateProcess | command to run |
| -> Text | standard input |
| -> IO (ExitCode, Text, Text) | exitcode, stdout, stderr |
Like readProcessWithExitCode, but takes a
CreateProcess instead of a command and argument list, and reads and
writes type ByteString
readProcessWithExitCode :: FilePath -> [String] -> Text -> IO (ExitCode, Text, Text)Source
Like readProcessWithExitCode, but using ByteString
readProcess :: FilePath -> [String] -> Text -> IO TextSource
Like readProcess, but using Text