[Buildbot-devel] Using wildcards in a ShellCommand shell script
J. Félix Ontañón
fontanon at emergya.es
Tue Apr 8 14:59:34 UTC 2008
El Tue, 8 Apr 2008 09:41:19 -0400
"Dustin J. Mitchell" <dustin at zmanda.com> escribió:
> On Tue, Apr 8, 2008 at 5:55 AM, J. Félix Ontañón
> <fontanon at emergya.es> wrote:
> > But why that ShellCommand fails !!!
> >
> > class UploadDebSrc(ShellCommand):
> > command = ["ls", "../f*"]
>
> Wildcards are interpreted by the shell, but buildbot bypasses the
> shell when you give a command as a list of strings. If you give the
> command as a string, it will invoke the shell:
>
> command = "ls ../f*"
>
> Dustin
>
It works. Thanks Dustin.
What is then the meaning of pass shell commands as a list of strings?
Reading 6.1.3 in BuildBot Manual i can't see why this is useful.
More information about the devel
mailing list