#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run ---------------------------+------------------------------------------------ Reporter: hamish | Owner: [email protected] 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>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
