Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(
doesCommandExist
): fix to exec.Command
based on [this lovely example](https://siongui.github.io/2018/03/16/go-check-if-command-exists/), you cannot directly call a built-in command in some systems, so you much call it in a round-about way. This commit also changes the `TestDoesCommandExist`: it checks if the runtime os is darwin or linux before attempting to use the commands
- Loading branch information