aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-03-21 10:50:44 +0100
committerGitHub Enterprise <[email protected]>2024-03-21 10:50:44 +0100
commitd7f422f02976b8d48cce533f9292400f2f85a141 (patch)
tree74032ff63b5308ef6012526959ebd0fcde7ff4ba /src/zencore/include
parent5.4.2-pre5 (diff)
downloadzen-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.h1
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;