vtk_which

vtk_which

Usage:         
vtk_which executable

Description:   
Equivalent to Unix command which. 
Looks for the executable in the directories specified by the environment variable PATH. 

Examples: 
vtk_which cp 
/bin/cp 
vtk_which badexecutable

Returns:       
The path to the executable or the empty string if the executable cannot be found.