process-listlike-0.10: Process extras

Safe HaskellNone

System.Process.Text

Synopsis

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