Internal function for .onAttach Check if shell command exists

shellCmdExists(cmd)