Why is Bazaar Explorer not a separate app?
Alexander Belchenko
bialix at ukr.net
Thu Nov 26 04:47:18 GMT 2009
Ian Clatworthy пишет:
> Martin Pool wrote:
>> 2009/11/26 Gordon Tyler <gordon at doxxx.net>:
>>> I was contemplating the problem of the extraneous console window when one
>>> starts Bazaar Explorer on Windows and as far as I can tell it's because it's
>>> invoked through bzr.exe which is compiled as a console app instead of a
>>> windowed app.
>>>
>>> That led me to wonder why Bazaar Explorer is a bzr plugin instead of its own
>>> separate app?
>> I think someone should just try doing it.
>>
>> >From rusty memory there is a pythonw.exe which is not marked as a
>> console application. It might be interesting to run 'pythonw
>> c:\.....\bzr explorer' and see what happens.
>
> Alexander has the details on what's blocking this. IIRC, it's because
> some parts of bzr still write to stdout directly, rather than via
> self.outf, and that means???
To be precise: bzr still can write to stdout and/or stderr directly in some circumtances (e.g. when
establish SSH connection via paramiko, some other cases) so standalone explorer.exe should
monkey-patch some code to turn it off, otherwise you'll have error dialog every time you exit from
bzr-explorer.
Details discussed in bzr-windows ML topic titled: "Call for testing: bzrw.exe: windows GUI
application", https://lists.launchpad.net/bzr-windows/msg00095.html. Check all replies, later thread
has split and continued from Fwd... something.
In fact I don't have time to work (code&testing) on this, but I can mentor anybody who willing to
working on this.
More information about the bazaar
mailing list