static void assertOnPATH(S cmd) {
  if (!isOnPATH(cmd)) print("Not on PATH: " + cmd);
}