[GRASS-dev] [GRASS GIS] #1891: wingrass: background dosbox from regular wxgui startup

GRASS GIS trac at osgeo.org
Tue Apr 16 13:18:54 PDT 2013


#1891: wingrass: background dosbox from regular wxgui startup
----------------------+-----------------------------------------------------
 Reporter:  hamish    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  6.4.3                    
Component:  Default   |     Version:  svn-releasebranch64      
 Keywords:  wingrass  |    Platform:  MSWindows 7              
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by glynn):

 Replying to [comment:10 hamish]:

 > ... is there a way in windows to run a .bat file without opening a dos
 box?

 AFAICT, if you execute a console program (such as cmd.exe) via Explorer,
 the console is shown automatically (although you can configure it to
 minimise the console).

 You can execute a .bat file from another program without the console being
 shown. E.g. if the Python script:
 {{{
 import subprocess
 subprocess.call('test.bat', shell=True)
 }}}
 is given a .pyw extension, running the .pyw file via Explorer will execute
 the .bat file without a console being shown.

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



More information about the grass-dev mailing list