diff --git a/src/config.rs b/src/config.rs index e6eaddf..f24c074 100644 --- a/src/config.rs +++ b/src/config.rs @@ -57,6 +57,12 @@ pub fn load(matches: &ArgMatches) -> Config { } }; + #[cfg(windows)] + { + // Don't try to use unix APIs on windows + config.server.freeze_process = false; + } + config }