[Buildbot-devel] Howto pipe the output of ShellCommand

Ben Hearsum bhearsum at wittydomain.com
Thu Jan 24 13:43:42 UTC 2008


If you pass the command as a string that _should_ work.

Eg,
foo.addStep(ShellCommand, command="perl util\mkfiles.pl > MINFO")

- Ben

Gerhard Gappmeier wrote:
> Hi
> 
> I want to write a buildstep which does the following:
> "perl util\mkfiles.pl > MINFO"
> 
> I don't know to pipe the output of the perl command into the file MINFO
> using the ShellCommand class.
> 
> Is this possible or do I need to write an own BuildStep?
> If so, has somebody sample code for that?
> 
> thanks in advance.
> 
> regards
> Gerhard
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> 




More information about the devel mailing list