[CXX-538] scons abort if the python directory contains spaces Created: 18/Feb/15  Updated: 13/Apr/15  Resolved: 27/Feb/15

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: legacy-1.0.0
Fix Version/s: legacy-1.0.1

Type: Improvement Priority: Minor - P4
Reporter: Constantin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 8, MS Visual Studio 2013, Boost Prebuild Binaries, Python2.7, scons



 Description   

If python is installed in a directory containing spaces (i.e. C:\Program Files(x86)\Python27) the scons script isn't working (output is something like "the command C:\Program could not be found").

Adding the double quotesaround the string $PYTHON in the file src/SConscript.client solves the issue ("$PYTHON").



 Comments   
Comment by Githook User [ 27/Feb/15 ]

Author:

{u'username': u'const-volatile', u'name': u'const-volatile', u'email': u'constantin.groelle@googlemail.com'}

Message: CXX-538: Used "File()" to prevent problems with whitespaces in python path
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/245afd544f65eae6ec2c26327918b2c0274c7dad

Comment by Andrew Morrow (Inactive) [ 18/Feb/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/254

Generated at Wed Feb 07 21:59:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.