GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
redirect Struct Reference

Spawns a new process. More...

Data Fields

int dst_fd
 
int src_fd
 
const char * file
 
int mode
 

Detailed Description

Spawns a new process.

A more useful alternative to G_system(), which takes the arguments of command as parameters.

Parameters
[in]commandcommand to execute
Returns
-1 on error
process status on success

Definition at line 61 of file spawn.c.

Field Documentation

int redirect::dst_fd

Definition at line 63 of file spawn.c.

const char* redirect::file

Definition at line 65 of file spawn.c.

int redirect::mode

Definition at line 66 of file spawn.c.

int redirect::src_fd

Definition at line 64 of file spawn.c.


The documentation for this struct was generated from the following file: