But the very useful linux command which
may or may not be available on all platforms: Search path for executable. Sys.which
is meant to be a platform-independent alternative, otherwise one can just do run(`which`)
.
That said, not using realpath
is probably reasonable. Do you mind opening a pull request to fix that?