diff options
| author | Stefan Boberg <[email protected]> | 2024-03-21 10:50:44 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-03-21 10:50:44 +0100 |
| commit | d7f422f02976b8d48cce533f9292400f2f85a141 (patch) | |
| tree | 74032ff63b5308ef6012526959ebd0fcde7ff4ba /src/zencore/include | |
| parent | 5.4.2-pre5 (diff) | |
| download | zen-d7f422f02976b8d48cce533f9292400f2f85a141.tar.xz zen-d7f422f02976b8d48cce533f9292400f2f85a141.zip | |
improved process monitoring behaviour with invalid pids (#16)
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/process.h b/src/zencore/include/zencore/process.h index d90a32301..a14aa5a71 100644 --- a/src/zencore/include/zencore/process.h +++ b/src/zencore/include/zencore/process.h @@ -22,6 +22,7 @@ public: ZENCORE_API ~ProcessHandle(); ZENCORE_API void Initialize(int Pid); + ZENCORE_API void Initialize(int Pid, std::error_code& OutEc); ZENCORE_API void Initialize(void* ProcessHandle); /// Initialize with an existing handle - takes ownership of the handle ZENCORE_API [[nodiscard]] bool IsRunning() const; ZENCORE_API [[nodiscard]] bool IsValid() const; |