Commit 4cb23dc8 authored by Michael Snoyman's avatar Michael Snoyman Committed by GitHub

Merge pull request #169 from lazamar/patch-1

Make readCreateProcess example typecheck
parents 97116f3d 6694e314
......@@ -464,7 +464,7 @@ readProcess cmd args = readCreateProcess $ proc cmd args
-- | @readCreateProcess@ works exactly like 'readProcess' except that it
-- lets you pass 'CreateProcess' giving better flexibility.
--
-- > > readCreateProcess (shell "pwd" { cwd = "/etc/" }) ""
-- > > readCreateProcess ((shell "pwd") { cwd = Just "/etc/" }) ""
-- > "/etc\n"
--
-- Note that @Handle@s provided for @std_in@ or @std_out@ via the CreateProcess
......
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