Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Gary Oberbrunner
On Wed, Mar 5, 2014 at 1:31 PM, Alexandre Feblot wrote: > I'll file a bug with ActiveState, but I'll stop here. And will start using > the official python. > I don't even know if they'll be able to investigate this without scons. > And if they can't, maybe they'll just blame scons. Because started

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
I'll file a bug with ActiveState, but I'll stop here. And will start using the official python. I don't even know if they'll be able to investigate this without scons. And if they can't, maybe they'll just blame scons. Because started from a cmd, the python test script works just fine. 2014-03-05

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Gary Oberbrunner
On Wed, Mar 5, 2014 at 12:13 PM, Alexandre Feblot wrote: > I tested the latest ActivePython (2.7.5.6) to make sure: it's buggy too. > If you're interested in pursuing it, you have two python invocations in your test: the python that runs SCons, and the python that runs your called script. You mi

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread William Deegan
Alex, Perhaps file a bug with active state? -Bill On Mar 5, 2014, at 9:13 AM, Alexandre Feblot wrote: > I tested the latest ActivePython (2.7.5.6) to make sure: it's buggy too. > > > 2014-03-05 17:57 GMT+01:00 Gary Oberbrunner : > > > On Wed, Mar 5, 2014 at 11:46 AM, Alexandre Feblot wrote

Re: [Scons-dev] SCons 2.3.1 is now available

2014-03-05 Thread Dirk Bächle
Hi Tom, On 05.03.2014 11:09, Tom Tanner (BLOOMBERG/ LONDON) wrote: Thanks for releasing the new version. Can I whine a bit about the man page Firstly, what used to be: Substfile() env.Substfile() now comes out as (in firefox and ie) Substfile() , env.Substfile The space before the comma i

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
I tested the latest ActivePython (2.7.5.6) to make sure: it's buggy too. 2014-03-05 17:57 GMT+01:00 Gary Oberbrunner : > > > On Wed, Mar 5, 2014 at 11:46 AM, Alexandre Feblot wrote: > >> Right, that was it. It behaves properly with the official 2.7.6. >> > > I'm surprised actually; I thought Act

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Gary Oberbrunner
On Wed, Mar 5, 2014 at 11:46 AM, Alexandre Feblot wrote: > Right, that was it. It behaves properly with the official 2.7.6. > I'm surprised actually; I thought ActiveState python should be pretty close to python.org python, with extra stuff (like pywin32). > On the other hand, the official dist

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
Right, that was it. It behaves properly with the official 2.7.6. On the other hand, the official distrib doesn't package winerror, win32api and win32con modules which I am using. Choice time... Thanks again. 2014-03-05 17:12 GMT+01:00 Alexandre Feblot : > I'm using Active State ActivePython 2.7.

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
I'm using Active State ActivePython 2.7.2.5. I'm going to try the official python, then. Thanks. 2014-03-05 17:07 GMT+01:00 Gary Oberbrunner : > Your example works OK for me; this is only the printpath.py part: > > scons: Reading SConscript files ... > C:\tmp\printpath.py > C:\Program Files (x86

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Gary Oberbrunner
Your example works OK for me; this is only the printpath.py part: scons: Reading SConscript files ... C:\tmp\printpath.py C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64;c:\Window

[Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
Hi, Would any of you have an idea on the behavior of printpath.py in the small test below? What happens to the PATH? Other variables are transfered properly. The similar perl test shows the PATH as expected. Sconstruct: env = Environment() env['ENV']['PATH'] += ';C:\\XX' env.Ex

Re: [Scons-dev] SCons 2.3.1 is now available

2014-03-05 Thread Tom Tanner (BLOOMBERG/ LONDON)
Thanks for releasing the new version. Can I whine a bit about the man page Firstly, what used to be: Substfile() env.Substfile() now comes out as (in firefox and ie) Substfile() , env.Substfile The space before the comma isn't nice. Secondly, (in firefox 27.0.1 anyway. This appears to be O