Message-ID: <fb7c7e870809190937v26359940o8b0a2b82700d8f12@mail.gmail.com>
Date: 2008-09-19T16:37:43Z
From: Rainer M Krug
Subject: evaluate return values of commands executed with system()
Hi
I would like to check the return value of commands executed with system()
I am using Linux (Ubuntu Hardy) and I am executing GRASS commands and
would like to call stop() when they return an error (i.e. return code
= 1).
Thanks
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa