aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-04-18 17:48:45 +0200
committerGitHub Enterprise <[email protected]>2024-04-18 17:48:45 +0200
commitf84af894f6c751e3643647229ae2e95d54c0ea31 (patch)
tree5b9c1554e276f455785cf0626881ca789816f975 /src/zencore/include
parentsafer oplog import (#52) (diff)
downloadzen-f84af894f6c751e3643647229ae2e95d54c0ea31.tar.xz
zen-f84af894f6c751e3643647229ae2e95d54c0ea31.zip
capture zenserver output on error (#51)
* capture spawned server output and output on launch error * fix logging and launch validation in tests
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 dbf5837e2..48a2eb0d7 100644
--- a/src/zencore/include/zencore/process.h
+++ b/src/zencore/include/zencore/process.h
@@ -28,6 +28,7 @@ public:
ZENCORE_API [[nodiscard]] bool IsValid() const;
ZENCORE_API bool Wait(int TimeoutMs = -1);
ZENCORE_API int WaitExitCode();
+ ZENCORE_API int GetExitCode();
ZENCORE_API bool Terminate(int ExitCode);
ZENCORE_API void Reset();
[[nodiscard]] inline int Pid() const { return m_Pid; }