From 82552698f7554bd0b8f5c5ec306e6ac972033f84 Mon Sep 17 00:00:00 2001 From: crs Date: Sun, 28 Mar 2004 20:52:49 +0000 Subject: [PATCH] Fixed bug in starting (when not testing) synergy from launcher on windows NT. It was trying to start it as a service. --- cmd/launcher/launcher.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/launcher/launcher.cpp b/cmd/launcher/launcher.cpp index 0c4b45973..1b89e9fb6 100644 --- a/cmd/launcher/launcher.cpp +++ b/cmd/launcher/launcher.cpp @@ -514,6 +514,11 @@ getCommandLine(HWND hwnd, bool testing) cmdLine += " -z --no-restart --no-daemon"; } + // can't start as service on NT + else if (!CArchMiscWindows::isWindows95Family()) { + cmdLine += " --no-daemon"; + } + // get the server name CString server; bool isClient = isClientChecked(hwnd);