[FWTools] [win32] openev python or pythonw?

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Nov 1 19:00:53 EDT 2007


Hi,

Is there a reason %fwtools_dir%\openev.bat uses "pythonw" and 
"%fwtools_dir%\bin\openev.bat" uses "python"?

I ask because the latter will echo messages to the console while the 
former does not. Makes troubleshooting a bit tricky at times. :)

:: no messages
pythonw "%OPENEV_HOME%\pymod\openev.py" %1 %2 %3 %4 %5 %6 %7

:: yes messages
python "%OPENEV_HOME%\pymod\openev.py" %*


(and while we're at it, we might as well make both of them use %* as %7 
limits the number of parameters which can be passed while %* passes 
everything to the limits of the command shell)


cheers,

-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------



More information about the FWTools mailing list