LearningRegistry/LearningRegistry — Issue #183: Distribute Tests fail in Windows Env
Author: ljwolford
Created: 2012-01-27 14:12:24+00:00
State: open

Whenever a process group name is created in lr_node.py (LR/lr/tests/functional/distribute), os.setsid is being used but it is only available for Unix systems, causing all of the distribute tests to fail on Windows. The exact code is shown below:

#Create a process group name as so that the shell and all its process are terminated when stop is called.
self._pylonsProcess = subprocess.Popen(command, shell=True, preexec_fn=os.setsid)