Value | Meaning |
---|---|
Default0 | Default behaviour. Since: 2.74 |
InheritStdin1 | If this flag is given, the child process will inherit the parent's stdin. Otherwise, the child's stdin is redirected to /dev/null. |
InheritStdout2 | 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(). |
InheritStderr4 | 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(). |
Flags to pass to glib.global.testTrapSubprocess to control input and output.
Note that in contrast with glib.global.testTrapFork, the default is to not show stdout and stderr.