diff options
| author | Stefan Boberg <[email protected]> | 2024-08-14 16:20:32 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-08-14 16:20:32 +0200 |
| commit | 92066c19239422e9c09c4ccd46d42fd573ce6853 (patch) | |
| tree | 26b307053e4b4a3b116a05b46834f35ff38f8d7e /src/zenserver/config.h | |
| parent | updated Lucas-C/pre-commit-hooks to v1.3.1 to fix compilation on MacOS (#114) (diff) | |
| download | zen-92066c19239422e9c09c4ccd46d42fd573ce6853.tar.xz zen-92066c19239422e9c09c4ccd46d42fd573ce6853.zip | |
added `--detach` option to zenserver (#115)
added `--detach` option to zenserver. When this is passed in with a false value, we do not create a new process group in order to behave more as expected when running with `xmake run zenserver`. Without this change the zenserver process does not receive any signals and won't exit when xmake does, causing processes to linger in the background.
The default behaviour (when run from UE) is unchanged.
Diffstat (limited to 'src/zenserver/config.h')
| -rw-r--r-- | src/zenserver/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenserver/config.h b/src/zenserver/config.h index 46fdd6fdf..4c9b9361c 100644 --- a/src/zenserver/config.h +++ b/src/zenserver/config.h @@ -157,6 +157,7 @@ struct ZenServerOptions bool IsFirstRun = false; bool NoSentry = false; bool SentryAllowPII = false; // Allow personally identifiable information in sentry crash reports + bool Detach = true; // Whether zenserver should detach from existing process group (Mac/Linux) bool ObjectStoreEnabled = false; bool NoConsoleOutput = false; // Control default use of stdout for diagnostics std::string Loggers[zen::logging::level::LogLevelCount]; |