[Scons-dev] Subprocess issue on Linux?

Kenny, Jason L jason.l.kenny at intel.com
Fri Apr 4 18:17:27 EDT 2014


I think yes, in that it does what should be done by the system under posix_spawn.. ie call vfork and execve.

Here is the last version of the monkey patch I have from the people working on it. It has a fallback to the classic fork exec if the API's don't exists. It seems to solve the main speed problem for us at the moment. I believe it still being tested to find possible issues.


Jason


From: scons-dev-bounces at scons.org [mailto:scons-dev-bounces at scons.org] On Behalf Of Gary Oberbrunner
Sent: Friday, April 04, 2014 4:46 PM
To: SCons developer list
Subject: Re: [Scons-dev] Subprocess issue on Linux?



On Fri, Apr 4, 2014 at 5:32 PM, Kenny, Jason L <jason.l.kenny at intel.com<mailto:jason.l.kenny at intel.com>> wrote:
Hi dirk,

While I don't have a patch to SCons at the moment we have people in my team fixing this with Parts as a monkey path to sub process module. I asked the two people working on this to speak up and update their patch work online for SCons to consider.

Jason, do you have a way to do posix_spawn from python (without a C extension)?

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140404/4cd46ffb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stubprocess.py
Type: application/octet-stream
Size: 11169 bytes
Desc: stubprocess.py
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20140404/4cd46ffb/attachment-0001.obj>


More information about the Scons-dev mailing list