Interface TestSubprocessFlags


public interface TestSubprocessFlags
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default behaviour.
    static final int
    If this flag is given, the child
    process will inherit the parent's stderr.
    static final int
    If this flag is given, the child
    process will inherit the parent's stdin.
    static final int
    If this flag is given, the child
    process will inherit the parent's stdout.
  • Field Details

    • DEFAULT

      static final int DEFAULT
      Default behaviour. Since: 2.74
      See Also:
    • INHERIT_STDIN

      static final int 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`.
      See Also:
    • INHERIT_STDOUT

      static final int 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().
      See Also:
    • INHERIT_STDERR

      static final int 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().
      See Also: