Safe Haskell | Safe-Infered |
---|
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
:: FilePath | command to run |
-> [String] | any arguments |
-> (CreateProcess -> CreateProcess) | modifies CreateProcess before passing to createProcess |
-> ByteString | standard input |
-> IO ByteString | stdout |
:: 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 |