[Buildbot-devel] Missing stdout from ShellCommand
Marcus Lindblom
macke at yar.nu
Fri Oct 15 07:04:43 UTC 2010
On 2010-10-14 16:31, ariasgore at gmx.de wrote:
> Hello,
> I am using buildbot 0.8.1 and calling visual studio devenv.exe to build a project. When I call the project from command line I see the usual output that is directed into stdout, e.g
>
> Microsoft (R) Visual Studio Version 9.0.21022.8.
> Copyright (C) Microsoft Corp. All rights reserved.
> ...
>
> When I call the buildbot script which is configured as a shell command
> vs2008_debug_dx9_base = ShellCommand(
> command=["C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe", "Projects.sln", "/Build", "x86_Debug_DX9"],
> workdir=".",
> name="Compiling Debug DX9",
> description="Started compiling",
> descriptionDone="Finished compiling",
> haltOnFailure=True)
>
> I receive only the header buildbot generates. Can somebody tell me, why I do not see the compiling process? If a build fails, there is no indication in stdio since it looks like stdout and stderr are simply not put into stdio.
>
> I have also tried forcing
> want_stdout = 1 and want_stderr = 1, same result. No output is generated, altough expected
>
> Any hints appreciated.
devenv.exe is a GUI-exe, which doesn't print to stdout/stderr by default.
Use devenv.com instead. That's the cmd-line version that works better.
Or, use vcbuild.exe which has slightly different options but also builds
vcproj-files.
Cheers,
/Marcus
More information about the devel
mailing list