[Buildbot-devel] shell command failing
Matisse Enzer
matisse at matisse.net
Fri Jan 25 02:44:47 UTC 2008
On Jan 24, 2008, at 8:51 AM, Axel Hecht wrote:
>
> Anyway, I suspect a common string vs array command thingie.
>
> argv: ['grep', "'ok, 0 failed,'", './smoke.html']
>
> vs
>
> argv: ['grep', "ok, 0 failed,", './smoke.html']
>
> When you specify the array, the command arguments actually go one by
> one, so you don't have to quote the grep args. Or rather, it grep'ed
> for
> 'ok, 0 failed'
> instead of
> ok, 0 failed
>
> and I bet your output is unquoted.
Thanks - that makes complete sense. I made the change and the build
step now performs as I hoped it would.
-M
-------------------------------------------------------
Matisse Enzer <matisse at matisse.net>
http://www.matisse.net/ - http://www.eigenstate.net/
More information about the devel
mailing list