Merge pull request #91 from RyanGlScott/master
authorMichael Snoyman <michael@snoyman.com>
Thu, 30 Mar 2017 17:01:14 +0000 (20:01 +0300)
committerGitHub <noreply@github.com>
Thu, 30 Mar 2017 17:01:14 +0000 (20:01 +0300)
Re-export CGid and friends from System.Process.Internals

System/Process/Common.hs
System/Process/Internals.hs
changelog.md

index dd09c0e..b424764 100644 (file)
@@ -9,6 +9,8 @@ module System.Process.Common
     , ProcRetHandles (..)
     , withFilePathException
     , PHANDLE
+    , GroupID
+    , UserID
     , modifyProcessHandle
     , withProcessHandle
     , fd_stdin
index 036e1c0..020390e 100644 (file)
 module System.Process.Internals (
     ProcessHandle(..), ProcessHandle__(..),
     PHANDLE, closePHANDLE, mkProcessHandle,
+#ifdef WINDOWS
+    CGid(..),
+#else
+    CGid,
+#endif
+    GroupID,
+    UserID,
     modifyProcessHandle, withProcessHandle,
     CreateProcess(..),
     CmdSpec(..), StdStream(..), ProcRetHandles (..),
index 98eade5..537a744 100644 (file)
@@ -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