cli: use Rust std library to get path to current exe
This is more portable than reading /proc/self/exe, which only works on Linux.
Signed-off-by: Lars Wirzenius liw@liw.fi
This is more portable than reading /proc/self/exe, which only works on Linux.
Signed-off-by: Lars Wirzenius liw@liw.fi
LGTM :)
Rebase.