From: Tom Yu Date: Mon, 12 Dec 2011 20:44:36 +0000 (+0000) Subject: windows ccapi: launch server without console by default X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1975a728188fc1ffce3d67ffeb351e693a7e6797;p=krb5.git 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 --- diff --git a/src/ccapi/lib/win/OldCC/client.cxx b/src/ccapi/lib/win/OldCC/client.cxx index ed8712339..5b82b6587 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,