[FWTools] [win32] openev python or pythonw?

Frank Warmerdam warmerdam at pobox.com
Tue Nov 6 13:26:52 EST 2007


Matt Wilkie wrote:
>> I think the theory was that it is undesirable to create a new console
>> window with a bunch of stuff in it for the icon launch, but that the user
>> working from the commandline isn't likely to be so put off by it.
>>
>> Or perhaps, I just changed one to python from pythonw once so I could
>> debug something.
>>
>> I would hate to always have that console around with a bunch of 
>> gobblygook
>> in it.
> 
> With pythonw the console window is still shown, it's just empty. It 
> might be better to use 'start pythonw'. The console still flashes up but 
> then disapears quickly. The flash is a bit annoying but does keep one 
> less icon in the task bar.
> 
>   start pythonw "%OPENEV_HOME%\pymod\openev.py" %*

Matt,

Agreed, and applied.  It will appear in FWTools 1.4.2 which I shall shortly
announce.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the FWTools mailing list