[commit: packages/process] master: Re-export CGid and friends from System.Process.Internals (ce41497)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:19:45 UTC 2017


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ce41497d8c325e7dad2abecb28795067f5fd32b6/process

>---------------------------------------------------------------

commit ce41497d8c325e7dad2abecb28795067f5fd32b6
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Sat Mar 25 10:31:31 2017 -0400

    Re-export CGid and friends from System.Process.Internals


>---------------------------------------------------------------

ce41497d8c325e7dad2abecb28795067f5fd32b6
 System/Process/Common.hs    | 2 ++
 System/Process/Internals.hs | 7 +++++++
 changelog.md                | 4 ++++
 3 files changed, 13 insertions(+)

diff --git a/System/Process/Common.hs b/System/Process/Common.hs
index dd09c0e..b424764 100644
--- a/System/Process/Common.hs
+++ b/System/Process/Common.hs
@@ -9,6 +9,8 @@ module System.Process.Common
     , ProcRetHandles (..)
     , withFilePathException
     , PHANDLE
+    , GroupID
+    , UserID
     , modifyProcessHandle
     , withProcessHandle
     , fd_stdin
diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs
index 036e1c0..020390e 100644
--- a/System/Process/Internals.hs
+++ b/System/Process/Internals.hs
@@ -22,6 +22,13 @@
 module System.Process.Internals (
     ProcessHandle(..), ProcessHandle__(..),
     PHANDLE, closePHANDLE, mkProcessHandle,
+#ifdef WINDOWS
+    CGid(..),
+#else
+    CGid,
+#endif
+    GroupID,
+    UserID,
     modifyProcessHandle, withProcessHandle,
     CreateProcess(..),
     CmdSpec(..), StdStream(..), ProcRetHandles (..),
diff --git a/changelog.md b/changelog.md
index 98eade5..537a744 100644
--- a/changelog.md
+++ b/changelog.md
@@ -2,6 +2,10 @@
 
 ## Unreleased changes
 
+* Expose `CGid`, `GroupID`, and `UserID` from `System.Process.Internals`
+  [#90](https://github.com/haskell/process/issues/90)
+  [#91](https://github.com/haskell/process/pull/91)
+
 ## 1.6.0.0 *February 2017*
 
 * Fix: waitForProcess race condition



More information about the ghc-commits mailing list