Safe Haskell | Safe-Infered |
---|
System.Unix.Process
Description
Variations of the readProcess and readProcessWithExitCode functions from System.Process which read and write ByteStrings and have an extra argument to modify the CreateProcess value before the process is started.
Documentation
Arguments
:: FilePath | command to run |
-> [String] | any arguments |
-> (CreateProcess -> CreateProcess) | modifies CreateProcess before passing to createProcess |
-> ByteString | standard input |
-> IO ByteString | stdout |
Arguments
:: FilePath | command to run |
-> [String] | any arguments |
-> (CreateProcess -> CreateProcess) | Modify process with this - use id for System.Process.readProcessWithExitCode behavior |
-> ByteString | standard input |
-> IO (ExitCode, ByteString, ByteString) | exitcode, stdout, stderr |