[Scons-dev] posix_spawn
    Daniel Holth 
    dholth at gmail.com
       
    Sun Jun 19 22:54:43 EDT 2016
    
    
  
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160620/063a2041/attachment.html>
    
    
More information about the Scons-dev
mailing list