[BACK] Return to admin_executor_service.cpp CVS log [TXT][DIR] Up to Nevrax / code / nelns / admin_executor_service

Diff for /code/nelns/admin_executor_service/admin_executor_service.cpp between version 1.11 and 1.12

version 1.11, 2001/07/05 08:25:58 version 1.12, 2001/10/22 10:35:49
Line 30 
Line 30 
 #include "nel/misc/types_nl.h" #include "nel/misc/types_nl.h"
  
 #ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
  #include <windows.h>
 #include <direct.h> #include <direct.h>
 #else #else
 #include <unistd.h> #include <unistd.h>
Line 148 
Line 149 
                         chdir(ServicePath.c_str());                         chdir(ServicePath.c_str());
                 }                 }
  
  #ifdef NL_OS_WINDOWS
                  WinExec (ServiceCommand.c_str(), SW_MINIMIZE/*SW_SHOWNORMAL*/);
  #else
                 system (ServiceCommand.c_str());                 system (ServiceCommand.c_str());
  #endif
                                  
                 if (!ServicePath.empty())                 if (!ServicePath.empty())
                         chdir(oldpath);                         chdir(oldpath);


Legend:
Removed from v.1.11 
changed lines
 Added in v.1.12