| Safe Haskell | None |
|---|
System.Process.ByteString
- readCreateProcess :: ProcessOutput ByteString b => CreateProcess -> ByteString -> IO b
- readCreateProcessWithExitCode :: CreateProcess -> ByteString -> IO (ExitCode, ByteString, ByteString)
- readProcessWithExitCode :: FilePath -> [String] -> ByteString -> IO (ExitCode, ByteString, ByteString)
- readProcess :: FilePath -> [String] -> ByteString -> IO ByteString
Documentation
readCreateProcess :: ProcessOutput ByteString b => CreateProcess -> ByteString -> IO bSource
readCreateProcessWithExitCodeSource
Arguments
| :: CreateProcess | command to run |
| -> ByteString | standard input |
| -> IO (ExitCode, ByteString, ByteString) | 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] -> ByteString -> IO (ExitCode, ByteString, ByteString)Source
Like readProcessWithExitCode, but using ByteString
readProcess :: FilePath -> [String] -> ByteString -> IO ByteStringSource
Like readProcess, but using ByteString