[Buildbot-devel] how to pass /CFG="Release|Win32" command line parameter to a win32 slave ?

Timothee Besset ttimo at idsoftware.com
Wed Dec 20 00:30:13 UTC 2006

I've been trying without success to pass /CFG="Release|Win32" as a
command line parameter to a command directed at a win32 slave.

I'm using the following step:
s( step.ShellCommand, command='cd E:\\AB\\code && BuildConsole.exe
/CFG="Release|Win32"' ),

That translates to:

argv: ['C:\\WINDOWS\\system32\\cmd.exe', '/c', 'cd E:\\AB\\code &&
BuildConsole.exe /CFG="Release|Win32"']

And BuildConsole.exe gives back this:

Solution configuration not found: \Release|Win32\

If there are no " " to escape, the pipe sign confuses cmd.exe so it
doesn't work either.

When typing those commands directly at the console, /CFG="Release|Win32"
works, as does /CFG=Release\|Win32

There is some processing and escaping/reconstruction of the parameters
before the call that's breaking things pretty much. Wonder if anyone
knows what to fix and where?


More information about the devel mailing list