[Buildbot-devel] Re: step.Compile problem (solved)

Olly Betts olly at survex.com
Wed Mar 1 02:06:59 UTC 2006


On 2006-02-23, Shane Vorwerk wrote:
>Stefan Seefeld wrote:
>> Try passing a list such as ['scons', 'test'] instead
>> of the concatenated string as command.
>
> Thanks this works very well. Problem solved.
>
> Possibly someone could update the manual to reflect
> this as in the section

You're supposed to be able to pass in either a single string (to be
tokenised by the shell), or a list of strings (to be used as-is).  The
list is safer because it avoids quoting issues, but a single string may
be more convenient if that's how you have the command (e.g. if it comes
from a plain text config file).

So it seems there's a bug as passing a string doesn't work as it
should on Windows.

Cheers,
    Olly





More information about the devel mailing list