GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

spawn.hh File Reference

A C++ interface for the GLib spawn functions. More...

#include <gfc/stackobject.hh>
#include <sigc++/sigc++.h>
#include <glib/gspawn.h>
#include <vector>
#include <gfc/glib/inline/spawn.inl>

Go to the source code of this file.

Namespaces

Classes

Typedefs

Enumerations


Detailed Description

A C++ interface for the GLib spawn functions.


Enumeration Type Documentation

enum SpawnFlags
 

Specifies the flags that effect how a child process is spawned.

Enumeration values:
SPAWN_LEAVE_DESCRIPTORS_OPEN  The parent's open file descriptors will be inherited by the child; otherwise all descriptors except stdin/stdout/stderr will be closed before calling exec() in the child.
SPAWN_DO_NOT_REAP_CHILD  The child will not be automatically reaped; you must call waitpid() or handle SIGCHLD yourself, or the child will become a zombie.
SPAWN_SEARCH_PATH  argv[0] need not be an absolute path, it will be looked for in the user's PATH.
SPAWN_STDOUT_TO_DEV_NULL  The child's standard output will be discarded, instead of going to the same location as the parent's standard output.
SPAWN_STDERR_TO_DEV_NULL  The child's standard error will be discarded.
SPAWN_CHILD_INHERITS_STDIN  The child will inherit the parent's standard input (by default, the child's standard input is attached to /dev/null).
SPAWN_FILE_AND_ARGV_ZERO  The first element of argv is the file to execute, while the remaining elements are the actual argument vector to pass to the file; Normally SpawnAsync uses argv[0] as the file to execute, and passes all of argv to the child.


Generated on Tue Aug 24 00:04:56 2004 for GFC-Core by doxygen 1.3.8