-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add getPid
#79
Add getPid
#79
Conversation
Seems pretty reasonable to me. @snoyberg, if you don't object then I'll merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objection from me.
The failures on Windows are genuine: there the PID has a different type. @9999years, what would you like to do? |
Please rebase on |
Oh, the solution is to use |
Done, PTAL |
This allows fetching a process' ID without using `unsafeProcessHandle`.
07a9807
to
564b2f8
Compare
I took the liberty of pushing a commit removing an unused import (I'm not sure why CI doesn't warn about unused imports. Perhaps there's some |
Thank you! |
This has been released in https://hackage.haskell.org/package/typed-process-0.2.12.0 |
This allows fetching a process' ID without using
unsafeProcessHandle
.