[GRASS-dev] Re: [GRASS GIS] #693: wxGUI menus: i.ortho.photo locks up GUI

GRASS GIS trac at osgeo.org
Thu Dec 17 17:00:30 EST 2009


#693: wxGUI menus: i.ortho.photo locks up GUI
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  major   |   Milestone:  6.4.0                    
 Component:  wxGUI   |     Version:  svn-develbranch6         
Resolution:          |    Keywords:  i.ortho.photo            
  Platform:  All     |         Cpu:  x86-64                   
---------------------+------------------------------------------------------
Comment (by glynn):

 Replying to [comment:21 hamish]:

 > Q: how to get wxgui.py to detect Cygwin so that does try an xterm
 instead of a "start" dos box? is there a $CYGWIN enviro var or similar?
 os.* or sys.* smart enough to pick it up?

 Cygwin's Python has sys.platform == 'cygwin'.

 So if you use `sys.platform == win32` as the test for (native) Windows, it
 won't affect Cygwin.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/693#comment:23>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list