While trying to get mouse/keyboard support in for Windows I ran into a
stack overflow issue related to the pid being `-1`. Getting the proper
process ID seems to fix it.
Release Notes:
- Fixed stack overflow on Windows
36d9b3d483Ezekiel Warren committed on 3/3/2024, 7:42:36 PM· committed by GitHubparenta5eab29