Skip to content
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

API: Add 'process.pid' function with correct behavior on Windows #23

Merged
merged 3 commits into from
Mar 27, 2019

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Mar 27, 2019

Issue: On Windows, the Unix.getpid() method returns the process handle instead of the process ID.

Fix: Trade in the handle for the process ID. This is important when integrating with other APIs that expect an actual process id.

@bryphe bryphe merged commit 32fb90f into master Mar 27, 2019
@bryphe bryphe deleted the feature/pid-fix-windows branch March 27, 2019 18:36
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.

None yet

1 participant