version 1.136, 2004/06/09 16:08:29
|
version 1.137, 2004/06/29 16:43:36
|
|
|
| |
int cimserver_run( int argc, char** argv, Boolean shutdownOption ); | int cimserver_run( int argc, char** argv, Boolean shutdownOption ); |
| |
|
Uint32 parentPid = 0; |
|
|
#if defined(PEGASUS_OS_TYPE_WINDOWS) | #if defined(PEGASUS_OS_TYPE_WINDOWS) |
# include "cimserver_windows.cpp" | # include "cimserver_windows.cpp" |
#elif defined(PEGASUS_OS_TYPE_UNIX) | #elif defined(PEGASUS_OS_TYPE_UNIX) |
|
|
MessageLoader::_useProcessLocale = false; | MessageLoader::_useProcessLocale = false; |
//l10n | //l10n |
| |
|
// Get the parent's PID before forking |
|
parentPid = System::getPID(); |
|
|
// do we need to run as a daemon ? | // do we need to run as a daemon ? |
if (daemonOption) | if (daemonOption) |
{ | { |