Commit 8b7534b3 authored by thomie's avatar thomie

Update process submodule

Summary:
Rename `SysTools.readCreateProcess`.

Functions `readCreateProcess` and `readCreateProcessWithExitCode` were added
to `System.Process`, the former of which conflicts with
`SysTools.readCreateProcess`.

Reviewed by: austin

Differential Revision: https://phabricator.haskell.org/D713
parent e76f8664
......@@ -469,13 +469,14 @@ askCc dflags args = do
args2 = args0 ++ args1 ++ args
mb_env <- getGccEnv args2
runSomethingWith dflags "gcc" p args2 $ \real_args ->
readCreateProcess (proc p real_args){ env = mb_env }
readCreateProcessWithExitCode' (proc p real_args){ env = mb_env }
-- Version of System.Process.readProcessWithExitCode that takes an environment
readCreateProcess
-- Similar to System.Process.readCreateProcessWithExitCode, but stderr is
-- inherited from the parent process, and output to stderr is not captured.
readCreateProcessWithExitCode'
:: CreateProcess
-> IO (ExitCode, String) -- ^ stdout
readCreateProcess proc = do
readCreateProcessWithExitCode' proc = do
(_, Just outh, _, pid) <-
createProcess proc{ std_out = CreatePipe }
......
Subproject commit 160bdd16722d85c2644bd2353121d8eb5e1597e4
Subproject commit ae10a33cd16d9ac9238a193e5355c5c2e05ef0a2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment