GLib.SpawnFlags Enumeration
SpawnFlags enumeration.

Syntax

[System.Flags]
public enum SpawnFlags

Remarks

Provides process spawning configuration information.

Members

Member NameDescription
ChildInheritsStdinIndicates if the child process should inherit the parent's stdin.
DoNotReapChildIndicates if child should not be reaped automatically. Caller must call Process.Close on the returned process to avoid zombies.
FileAndArgvZeroIndicates if the first element should be dropped from the argv that is passed to the process. Normally the first element of the argv is the program name to be invoked, and the entire argv is passed to the process, including the program name. Using this flag causes the program name to be dropped from the vector.
LeaveDescriptorsOpenIndicates if parent file descriptors should remain open for the child. Without this flag, all descriptors except for stdin, stdout, and stderr are closed.
SearchPathIndicates if the user's PATH variable should be used to locate the executable. Without this flag, a fully-qualified path to the executable must be provided in the command or argument vector. Setting this flag can create security issues, so it should be used with caution.
StderrToDevNullIndicates if stderr should be redirected to /dev/null, ignoring the output. If this flag is set, users of Process.SpawnAsyncWithPipes must pass Process.IgnorePipe for the stderr parameter.
StdoutToDevNullIndicates if stdout should be redirected to /dev/null, ignoring the output. If this flag is set, users of Process.SpawnAsyncWithPipes must pass Process.IgnorePipe for the stdout parameter.

Requirements

Namespace: GLib
Assembly: glib-sharp (in glib-sharp.dll)
Assembly Versions: 2.12.0.0