public static boolean isValidPath(String path) {
		try {
			Paths.get(path);
			return true;
		} catch (InvalidPathException e) {
			return false;
		}
	}
Runs the given command + arguments and returns its output (both stdout and
stderr) as a string

@param cmd The command to execute
@return The output of the command or null if anything went wrong
src/main/java/dev/jbang/util/Util.java