klog icon indicating copy to clipboard operation
klog copied to clipboard

Add pre-run and post-run scripting option

Open barjac opened this issue 3 years ago • 0 comments

Add an option to enable and specify scripts to run from within klog before and after the main program starts/ends in order allow custom housekeeping.

The scripts and the config for this to be stored outside ~/.klog/ maybe a ~/.klogscripts/ folder. This would then allow for the case where ~/.klog is a mount point, not a local directory, which may or may not have a remote location mounted when the scripts are run.

In the case of a pre-run script, klog must abort if this script returns >= 1.

barjac avatar Oct 22 '21 10:10 barjac