[Scons-users] env.command fails on mingw shell

Kraus Philipp philipp.kraus at flashpixx.de
Thu Oct 25 17:13:20 EDT 2012


Hello,

I'm running mingw shell and Scons. If I run this short example

import os
env = Environment(ENV = {'PATH' : os.environ["PATH"]})
env.Command("test", "", "cd an_existing_directory;")

the env.Command line breaks with an error "the system can not found the path"
If you remove the semicolon in the command line to

env.Command("test", "", "cd an_existing_directory")

the script is run without errors. It seems the semicolon creates a problem on mingw and env.Command;
(other command like "ls; ls -l" does not work although, on mingw command line the commands work without any problem)


Phil


More information about the Scons-users mailing list