[GRASSGUI] Re: [grass-addons] r363 - trunk/grassaddons/gui

Michael Barton michael.barton at asu.edu
Thu Mar 29 17:32:00 EDT 2007


I just copied the format in the current gis.m script. Without this, it is
running modally. How would you recommend changing it?

Michael


On 3/28/07 5:17 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> barton at grass.itc.it wrote:
> 
>> Author: barton
>> Date: 2007-03-28 23:53:04 +0200 (Wed, 28 Mar 2007)
>> New Revision: 363
>> 
>> Modified:
>>    trunk/grassaddons/gui/wxgrass
>> Log:
>> Starting non-modally
>> 
>> Modified: trunk/grassaddons/gui/wxgrass
>> ===================================================================
>> --- trunk/grassaddons/gui/wxgrass 2007-03-28 20:48:41 UTC (rev 362)
>> +++ trunk/grassaddons/gui/wxgrass 2007-03-28 21:53:04 UTC (rev 363)
>> @@ -8,9 +8,9 @@
>>  SYSTEM=`uname -s`
>>  
>>  if [ "$SYSTEM" = "Darwin" ] ; then
>> - pythonw "$GISBASE/etc/wx/wxgui.py" -name wxgui_py
>> + pythonw "$GISBASE/etc/wx/wxgui.py" -name wxgui_py &
>>  else
>> - python "$GISBASE/etc/wx/wxgui.py" -name wxgui_py
>> + python "$GISBASE/etc/wx/wxgui.py" -name wxgui_py &
>>  fi
> 
> I'm not sure that this is a good idea; if you want wxgrass to run in
> the background, you can use "wxgrass &".
> 
> If this remains, stdout and stderr should be redirected (e.g. to
> /dev/null), so that they don't create mess on the terminal (or suspend
> wxgrass if output from a background process results in SIGTTOU).

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 




More information about the grass-gui mailing list