[Zope] ZShell

Jerome Alet alet@unice.fr
Wed, 13 Jun 2001 10:12:32 +0200 (MET DST)


On Tue, 12 Jun 2001, Andy wrote:

> Aha! Yep use get_stdout(), but it doesnt always work. Get lots of %s. :)

probably because you've fucked line 685 of your own version of zshell.

it should read: self.printf("%s" % msg)
instead of:     self.printf("%s")

but this line is not in the original ZShell, which was a voluntary action
on my part, as I've said before: "keep it quiet"

so each run_something method of ZShell should call self.printf() only when
needed, it's the case IIRC in at least pwd, ls, find.

I'll try to test ZShellCLI ASAP.

> > bye, but I'll only thank you when I'll be able to
> > download ZShellCLI.py ;-)

So: Thanks a lot !!!

bye,

Jerome Alet