From 1975a728188fc1ffce3d67ffeb351e693a7e6797 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 12 Dec 2011 20:44:36 +0000 Subject: windows ccapi: launch server without console by default Signed-off-by: Kevin Wasserman ticket: 7050 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25541 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/lib/win/OldCC/client.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ccapi/lib/win/OldCC/client.cxx b/src/ccapi/lib/win/OldCC/client.cxx index ed8712339a..5b82b6587f 100644 --- a/src/ccapi/lib/win/OldCC/client.cxx +++ b/src/ccapi/lib/win/OldCC/client.cxx @@ -195,12 +195,13 @@ DWORD find_server(Init::InitInfo& info, LPSTR endpoint) { psa, // SA FALSE, CREATE_NEW_PROCESS_GROUP | - CREATE_NEW_CONSOLE | NORMAL_PRIORITY_CLASS | - // CREATE_NO_WINDOW | - // DETACHED_PROCESS | /* KPK TODO: was set - restore */ - 0 - , +#ifdef CCAPI_LAUNCH_SERVER_WITH_CONSOLE + CREATE_NEW_CONSOLE | +#else + DETACHED_PROCESS | +#endif + 0, NULL, // environment szDir, // current dir &si, -- cgit