[Scons-dev] Subprocess issue on Linux?

Dirk Bächle tshortik at gmx.de
Sun Apr 6 10:01:40 EDT 2014


Hi Eugene,

thanks a lot for your quick answer and very helpful advice.

On 06.04.2014 15:21, Leskinen, Eugene wrote:

>

> I have just place the stubprocess.py to

> /opt/python27/lib/scons-2.1.0/SCons/Platform/ directory and added

> 'import stubprocess' statement to SCons.Platfrom.posix module just

> after import subprocess:

>

> --- /opt/python27/lib/scons-2.1.0/SCons/Platform/posix.py 2014-04-06

> 17:17:30.000000000 +0400

>

> +++ /opt/python27/lib/scons-2.1.0/SCons/Platform/posix.py.new

> 2014-04-06 17:17:07.000000000 +0400

>

> @@ -36,6 +36,7 @@

>

> import os

>

> import os.path

>

> import subprocess

>

> +import stubprocess

>

> import sys

>

> import select

>

> This what worked for me.

>


This approach works on my side too. I had tried to copy-paste part of
the source code directly to the top of "SCons/Platform/posix.py", which
gave me the reported errors.

Best regards,

Dirk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140406/22e563bf/attachment.htm>


More information about the Scons-dev mailing list