question about using G_system command
Darrell McCauley
grassp-list at amber.cecer.army.mil
Tue, 21 Jul 1992 09:23:58 -0500
Srin,
What is G_system returning? What is your hardware and OS? You
may want to compile with -g and step through it with a debugger.
Specifically, check each signal.
From src/libes/gis/system.c:
|> * This is essentially the UNIX system() call, except for the signal
|> * handling. During the call, user generated signals (intr, quit)
|> * for the parent are ignored, but allowed for the child. Parent
|> * signals are reset upon completion.
If the child process receives a signal, do you just want it to quit,
or do you want everything to stop?
--Darrell
> Date: Mon, 20 Jul 92 16:38:31 CDT
> From: srin@brcsun1.tamu.edu (Srin)
> I am trying to use G_system command to fork a process or to call
> an external module. It does not seem to work. However if I use system call
> it does work. Any one can explain why it is doing?