~ubuntu-branches/ubuntu/karmic/grass/karmic

« back to all changes in this revision

Viewing changes to lib/init/grass-run.bat

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2009-07-13 13:34:03 UTC
  • mfrom: (3.1.15 karmic)
  • Revision ID: james.westby@ubuntu.com-20090713133403-0x81m7hb1q06zu13
Tags: 6.4.0~rc5-2
* Added a grass menu item (Hamish).
* Added a grass.menu.in template with related icon.
* Added a simple x-grass wrapper to allow running grass without a pre-running
  controlling terminal. At least it works within ordinary WMs launchers.
  (closes: #503371)
* Added newlocation.dpatch patch to manage correctly new locations.
  (closes: #533738)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
set GRASS_UI_TERM=1
9
9
 
10
10
rem Run command
11
 
"%*"
 
11
%*
 
12
 
 
13
if not %errorlevel% == 0 goto error
12
14
 
13
15
title GRASS: %1 Done.
14
 
if %errorlevel% == 1 goto error
 
16
echo.
 
17
echo %1 complete.
 
18
pause
15
19
 
16
 
rem Pause for 2 seconds to allow user to read any output
17
 
ping 127.0.0.1 -n 3 -w 1000 >NUL:
18
20
:end
19
21
exit %errorlevel%
20
22
 
21
23
:error
 
24
title GRASS: %1 Done. (error %errorlevel%)
 
25
echo.
22
26
echo -----
23
27
echo ERROR: %1 exited abnormally.
24
28
echo -----