CLIUtil.pm: add nice_me and _which functions
commit02d2d18556e7c38027f9b83a0eab670376adfc19
authorKyle J. McKay <mackyle@gmail.com>
Sun, 17 Dec 2017 13:21:20 +0000 (17 05:21 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 17 Dec 2017 13:21:20 +0000 (17 05:21 -0800)
treec0a42bc49abec7388f13cb0487dd4315a10cfaf2
parent64e760da61c852f4642c344ee18ca06d309f70b1
CLIUtil.pm: add nice_me and _which functions

Export the nice_me function which adjusts the nice and, if available,
ionice priorities to be maximally friendly.

Make the _which function exportable on request that looks for the
specified executable file in the PATH directories.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/CLIUtil.pm