#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <grass/config.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include <grass/spawn.h>
Go to the source code of this file.
Data Structures | |
struct | redirect |
struct | signal |
struct | binding |
Defines | |
#define | MAX_ARGS 256 |
#define | MAX_BINDINGS 256 |
#define | MAX_SIGNALS 32 |
#define | MAX_REDIRECTS 32 |
Functions | |
int | G_spawn (char *command,...) |
int | G_spawn_ex (char *command,...) |
#define MAX_ARGS 256 |
int G_spawn | ( | char * | command, | |
... | ||||
) |
int G_spawn_ex | ( | char * | command, | |
... | ||||
) |
Definition at line 310 of file spawn.c.
References signal::action, redirect::dst_fd, redirect::file, G_warning(), getenv(), MAX_ARGS, redirect::mode, NULL, signal::signum, redirect::src_fd, binding::val, signal::valid, binding::var, and signal::which.