Glynn Clements
2007-11-14 22:56:49 UTC
Author: barton
Date: 2007-03-28 23:53:04 +0200 (Wed, 28 Mar 2007)
New Revision: 363
trunk/grassaddons/gui/wxgrass
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 inDate: 2007-03-28 23:53:04 +0200 (Wed, 28 Mar 2007)
New Revision: 363
trunk/grassaddons/gui/wxgrass
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
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).
--
Glynn Clements <***@gclements.plus.com>
Glynn Clements <***@gclements.plus.com>