Salome HOME
Win32: remove obsolete win32pm implementation
[modules/kernel.git] / bin / server.py
index dcb9488f4068787b081217c6ee680cfe783a58e8..fc36db0a477c901eccacad4b4fc61e4d2bb83141 100755 (executable)
@@ -69,8 +69,8 @@ class Server:
         command = myargs + self.CMD
         #print "command = ", command
         if sys.platform == "win32":
-          import win32pm
-          pid = win32pm.spawnpid( command, '-nc' )
+          import subprocess
+          pid = subprocess.Popen(command).pid
         elif Server.server_launch_mode == "fork":
           pid = os.spawnvp(os.P_NOWAIT, command[0], command)
         else: # Server launch mode is daemon