Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
Packages
process
Commits
4cb23dc8
Commit
4cb23dc8
authored
Feb 10, 2020
by
Michael Snoyman
Committed by
GitHub
Feb 10, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #169 from lazamar/patch-1
Make readCreateProcess example typecheck
parents
97116f3d
6694e314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
System/Process.hs
System/Process.hs
+1
-1
No files found.
System/Process.hs
View file @
4cb23dc8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment