PyPy-Holstein: execute subprocess.Popen failure
The compiled PyPy interpreter is having problem executing
subprocess.Popen(). The function calls
os.execvp() in the child process. Though a second process is forked, the execution seems to halt and not making any progress after that (CPU usage become 0).
Following test exposes the problem:
def test_subproc(): import sys import subprocess target = sys.executable proc = subprocess.Popen(['file', target], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) output = proc.communicate() print output rc = proc.wait() assert rc == 0