def program_from_file_for(self, for_machine, prognames, silent):
    for p in unholder(prognames):
        if isinstance(p, mesonlib.File):
            continue
        if (not isinstance(p, str)):
            raise InterpreterException('Executable name must be a string')
        prog = ExternalProgram.from_bin_list(self.environment, for_machine, p)
        if prog.found():
            return ExternalProgramHolder(prog, self.subproject)
    return None
def program_from_file_for(self, for_machine, prognames, silent):
    for p in unholder(prognames):
        if isinstance(p, mesonlib.File):
            continue
        if (not isinstance(p, str)):
            raise InterpreterException('Executable name must be a string')
        prog = ExternalProgram.from_bin_list(self.environment, for_machine, p)
        if prog.found():
            return ExternalProgramHolder(prog, self.subproject)
    return None