Gjsify LogoGjsify Logo

Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().

bitfield

Index

Enumeration Members

CHILD_INHERITS_STDIN: number

the child will inherit the parent's standard input (by default, the child's standard input is attached to /dev/null).

CLOEXEC_PIPES: number

create all pipes with the O_CLOEXEC flag set. Since: 2.40

DEFAULT: number

no flags, default behaviour

DO_NOT_REAP_CHILD: number

the child will not be automatically reaped; you must use g_child_watch_add() yourself (or call waitpid() or handle SIGCHLD yourself), or the child will become a zombie.

FILE_AND_ARGV_ZERO: number

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 g_spawn_async_with_pipes() uses argv[0] as the file to execute, and passes all of argv to the child.

LEAVE_DESCRIPTORS_OPEN: number

the parent's open file descriptors will be inherited by the child; otherwise all descriptors except stdin, stdout and stderr will be closed before calling exec() in the child.

SEARCH_PATH: number

argv[0] need not be an absolute path, it will be looked for in the user's PATH.

SEARCH_PATH_FROM_ENVP: number

if argv[0] is not an absolute path, it will be looked for in the PATH from the passed child environment. Since: 2.34

STDERR_TO_DEV_NULL: number

the child's standard error will be discarded.

STDOUT_TO_DEV_NULL: number

the child's standard output will be discarded, instead of going to the same location as the parent's standard output.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method