static bool isOnPATH(S cmd) { ret findCmdOnPATH(cmd) != null; }