[GRASS-dev] Re: [GRASS GIS] #580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run

GRASS GIS trac at osgeo.org
Tue Dec 22 20:04:55 EST 2009


#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  blocker       |   Milestone:  6.4.0                    
 Component:  wxGUI         |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------
Comment (by glynn):

 Replying to [comment:22 cmbarton]:
 > > > All the wrapper scripts in there fail on wingrass.
 > >
 > > My first guess would be that something isn't setting shell=True in the
 Popen constructor.
 > >
 > > On Windows, shell=False (the default) only works for .exe files. If
 you want to be able to "run" .py, .bat etc files, you have to set
 shell=True.
 > > [[BR]]
 > [[BR]]
 > On Mac we only need to supply the wxPython binaries to ensure that the
 correct version is run I think.

 Most of the wrapper scripts in gui/scripts don't use wx. When running
 commands from the GUI, it shouldn't make any difference whether those
 commands are shell scripts, Python scripts, batch files, or binaries.

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


More information about the grass-dev mailing list