-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: fix wrapper around OpenProcess (pid_exists() no longer lies) (…
…#1094) * windows / C: add assert to make sure pid_is_running() is correct * set an error str * check if pid is actually gone in psutil_handle_from_pid_waccess * small refactoring * GetExitCodeProces() return code was not checked * define a reusable check_phandle() C function which checks whether the process handle is actually running * refactoring * re-enable windows test which now passes * check pid_is_running -1 return value in proc_connections(); also refactor some C code * fix memleak
- Loading branch information
Showing
4 changed files
with
168 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters