#include <SALOMEconfig.h>
#include CORBA_CLIENT_HEADER(SALOME_Session)
-#ifdef WNT
+#ifdef WIN32
#include <process.h>
#define getpid _getpid
#endif
command = BuildCommandToLaunchRemoteContainer(resource_selected, params, container_exe);
//redirect stdout and stderr in a file
-#ifdef WNT
+#ifdef WIN32
std::string logFilename=getenv("TEMP");
logFilename += "\\";
std::string user = getenv( "USERNAME" );
logFilename += tmp.str();
logFilename += ".log" ;
command += " > " + logFilename + " 2>&1";
-#ifdef WNT
+#ifdef WIN32
command = "%PYTHONBIN% -c \"import win32pm ; win32pm.spawnpid(r'" + command + "', '')\"";
#else
command += " &";