Remove dependency on process-1.6.3
[opengl.git] / src / Language / Haskell / LSP / Test.hs
index 8da170c0d4fe6e984e2d21ffcd05dab6a79cfbc3..3331c096a7a71e9a84e6cd76348f04faff6aad36 100644 (file)
@@ -106,7 +106,7 @@ runSessionWithConfig :: SessionConfig -- ^ The capabilities the client should ha
                      -> Session a -- ^ The session to run.
                      -> IO a
 runSessionWithConfig config serverExe rootDir session = do
-  pid <- getProcessID
+  pid <- getCurrentProcessID
   absRootDir <- canonicalizePath rootDir
 
   let initializeParams = InitializeParams (Just pid)