[IPOL discuss] various questions about python demos
Juan Cardelino
juan.cardelino at gmail.com
Mon Nov 28 15:01:02 CET 2011
2011/11/28 Haldo Spontón <haldosponton at gmail.com>:
> Dear Juan,
>
> answering your first question, you can use && instead of semicolon.
> I use
> build.run("cd %s && cmake . && make" % self.src_dir, stdout=log_file)
> hope you find this useful.
Yeah, my bad, I should have tried that first, because this also tests
the command's output value.
Just out of curiosity, this works because the && doesn't need to be
escaped and the semicolon does, right?
Thanks for the comments.
More information about the discuss
mailing list