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