-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colour output processor chokes on multi-part Actions #14
Comments
Yes - good link. I'm not sure what's the best approach here though. Is this something we fix or advise a work-around for as a "better" practice. For instance the example you provide could presumably be accomplished using two separate steps, possibly with commands? |
I spent a few hours looking at this more thoroughly today. Multipart actions, e.g.
won't work with a parallel build because any action executed by another builder has the chance of getting executed while the pwd is changed from the build root. SCons.Builder actually has support for a
Another possible solution lies in |
An simpler alternative which works is to modify
|
I don't have a lot of experience with using |
I think typically the warnings against using I've also found another case where the current invocation of |
Sorry for the long delay in responding - I haven't gone ahead with this merge yet as adding |
Cuppa's colour output processor chokes on multi-command actions such as:
Action("cd $DIR && $COMMAND")
The problem is that
subprocess.Popen
doesn't work when this command string issplit()
into an array. Discussed here: http://stackoverflow.com/questions/17742789/running-multiple-bash-commands-with-subprocess.The text was updated successfully, but these errors were encountered: