aboutsummaryrefslogtreecommitdiff
path: root/toys/example/logwrapper.c
AgeCommit message (Collapse)Author
2019-02-01Fix record-commands and logwrapper.cRob Landley
record-commands: Delete old log, only delete $WRAPDIR at end if path wasn't externally supplied, don't add the rm at the end to the log. logwrapper.c: don't skip filename when measuring space for command line malloc, use argv[0] instead of /proc/self/exe (which is realpath -f).
2019-01-30Command logging wrapper to help analyze what commands scripts call and how.Rob Landley