Data Fields

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

Definition at line 63 of file spawn.c.

const char* redirect::file

Definition at line 65 of file spawn.c.

Definition at line 66 of file spawn.c.

Definition at line 64 of file spawn.c.


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