Skip to content

Conversation

@srid
Copy link
Contributor

@srid srid commented May 18, 2018

cleanupProcess needs to be exported in order to be able to write a version of withCreateProcess that works with MonadIO.

Required when writing our own withCreateProcess (with MonadIO, etc.)
-- | Cleans up the process.
--
-- This function is meant to be invoked from any application level cleanup
-- handler. It terminates the process, and closes any 'CreatePipe' 'handle's.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can you add a @since comment with a new minor version and update the ChangeLog with an entry about this new function?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snoyberg Done.

Copy link
Collaborator

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@snoyberg snoyberg merged commit 11f4688 into haskell:master May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants