blackbox/README.md -rw-r--r-- 607 bytes
4f8e51ebSimon Ser Accept command to run as arg 5 months ago


Records logs in a ring buffer. The recorded data can be retrieved after-the-fact via a Unix socket. Useful when trying to obtain data about a heisenbug.


meson build/
ninja -C build/


blackbox -- <program>

<program> can be used normally for extended periods of time. blackbox will print instructions that can be used to grab logs when the bug is reproduced.

blackbox can also read from the standard input:

<program> 2>&1 | blackbox



Copyright © 2021 Simon Ser