Skip to main content

check_programs

Checks if the specified programs are available in the system path and raises a CommandError if any are missing, specifically noting the requirement for GNU gettext tools 0.19 or newer.

def check_programs(
*programs: string
) - > null

Verifies that the specified executable programs are available in the system path. This function is used to ensure that required external dependencies, such as GNU gettext tools, are installed before proceeding with operations that rely on them.

Parameters

NameTypeDescription
*programsstringA variable number of executable names or command strings to locate on the system.

Returns

TypeDescription
nullReturns None if all specified programs are found in the system path.