0

On Windows, when I pass an argument to SCons (added using AddOption) that contains ':', Scons exits with error code 2 and doesn't compile. All steps prior to compilation are executed.

scons --test_option="abc:" # Fails
scons --test_option="abc" # Works

It doesn't work even when the option itself is unused.

Colon is passed in the first place to provide full path. However it seems not to be path related.

Version: 2.2

Xyand
  • 4,470
  • 4
  • 36
  • 63
  • Have you tried to see if there's an exception being thrown? You can use the standard Python try/except exception handling and wrap pertinent parts of your SCons scripts in try blocks. – Brady Nov 22 '12 at 17:18
  • Thanks. I found the problem. It was in the specific scons script and not in the framework. – Xyand Nov 25 '12 at 09:23

0 Answers0