Module: GLib::TestSubprocessFlags

Defined in:
(unknown)

Constant Summary collapse

DEFAULT =

Default behaviour. Since: 2.74

0 or :default
INHERIT_STDIN =

If this flag is given, the child process will inherit the parent's stdin. Otherwise, the child's stdin is redirected to /dev/null.

1 or :inherit_stdin
INHERIT_STDOUT =

If this flag is given, the child process will inherit the parent's stdout. Otherwise, the child's stdout will not be visible, but it will be captured to allow later tests with g_test_trap_assert_stdout().

2 or :inherit_stdout
INHERIT_STDERR =

If this flag is given, the child process will inherit the parent's stderr. Otherwise, the child's stderr will not be visible, but it will be captured to allow later tests with g_test_trap_assert_stderr().

4 or :inherit_stderr