[commit: packages/process] master: Update Common.hs (78a9636)
git at git.haskell.org
git at git.haskell.org
Wed Jul 19 21:19:01 UTC 2017
Repository : ssh://git@git.haskell.org/process
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/78a963699d8fd470591802987890aa69a2a0f2de/process
>---------------------------------------------------------------
commit 78a963699d8fd470591802987890aa69a2a0f2de
Author: James Cheney <james.cheney at gmail.com>
Date: Mon Jan 30 14:38:58 2017 +0000
Update Common.hs
#87
>---------------------------------------------------------------
78a963699d8fd470591802987890aa69a2a0f2de
System/Process/Common.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/System/Process/Common.hs b/System/Process/Common.hs
index b2caae6..3c8d370 100644
--- a/System/Process/Common.hs
+++ b/System/Process/Common.hs
@@ -66,7 +66,7 @@ type PHANDLE = CPid
#endif
data CreateProcess = CreateProcess{
- cmdspec :: CmdSpec, -- ^ Executable & arguments, or shell command. Relative paths are resolved with respect to 'cwd' if given, and otherwise the current working directory.
+ cmdspec :: CmdSpec, -- ^ Executable & arguments, or shell command. If 'cwd' is 'Nothing', relative paths are resolved with respect to the current working directory. If 'cwd' is provided, it is implementation-dependent whether relative paths are resolved with respect to 'cwd' or the current working directory, so absolute paths should be used to ensure portability.
cwd :: Maybe FilePath, -- ^ Optional path to the working directory for the new process
env :: Maybe [(String,String)], -- ^ Optional environment (otherwise inherit from the current process)
std_in :: StdStream, -- ^ How to determine stdin
More information about the ghc-commits
mailing list