I found this lovely cffi implementation of posix_spawn
https://github.com/projectcalico/python-posix-spawn . Since
subprocess.Popen() is too slow on PyPy, this gives a welcome speedup, but
it would probably help on CPython as well. However the file redirection is
probably not correct.

in posix.py:

def exec_subprocess_spawnp(l, env):

    pid = posix_spawn.posix_spawnp(l[0], l, env)

    return os.waitpid(pid, 0)[1]
_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to