Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

brainprep.wrappers.is_command_installed

brainprep.wrappers.is_command_installed(command)[source]

Verifies if a command is installed on a Linux system using the which utility.

Parameters:
command: str

The name of the command to locate.

Raises:
ValueError

If the platform is not Linux or the command cannot be found.