Schnittstelle TestSubprocessFlags


public interface TestSubprocessFlags
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    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.
  • Felddetails

    • DEFAULT

      static final int DEFAULT
      Default behaviour. Since: 2.74
      Siehe auch:
    • 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`.
      Siehe auch:
    • 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 [func@GLib.test_trap_assert_stdout].
      Siehe auch:
    • 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 [func@GLib.test_trap_assert_stderr].
      Siehe auch: