gag 0.1.0

Gag, redirect, or hold stdout/stderr output. Currently only *nix operating systems are supported.
docs.rs failed to build gag-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: gag-1.0.0

Redirect and/or gag stdout/stderr.

Documentation (with examples): https://stebalien.github.io/gag-rs/gag/

TODO:

General:

  • Windows support.
  • Better error handling? Buffer:
  • Deallocate the buffer as it is read (FALLOC_FL_PUNCH_HOLE) if possible.