[Buildbot-devel] Mac's "cat" behaves strangely if encapsulated in buildbot's ShellCommand

Bob Hood bhood2 at comcast.net
Thu Jul 8 21:43:23 UTC 2010


On 7/8/2010 3:28 PM, David Mor wrote:
>
> Dear Buildbot Developers,
>
>  
>
>   Thank you all for the recent 0.8.1 release.
>
>  
>
> Before upgrading, I would like to solve the current issue I encountered.
>
> I was trying to use issue a "cat" command and a "rm" command to print
> and delete multiple textfiles on
>
> Mac OS X  by writing the following in master.cfg
>
>  
>
> printMicSummaryStep = \
>
>     ShellCommand(description="Printing MicSummary",
>
>                  descriptionDone="Printed MicSummary",
>
>                  command=["cat", "micsummary*.txt"],
>
>                  workdir=[workdir])
>
>

I believe "workdir" needs to be a string, not a list, e.g.:

    ...addStep(shell.ShellCommand(command=["./run_test"],
workdir="/Users/me/buildbot_branches/trunk/tests"))





More information about the devel mailing list