File function ( @ NotNull String arg0 ) { String loc0 = System . getenv ( PATH_ENV_VAR_NAME ) ; List < File > loc1 = doFindExeFilesInPath ( loc0 , arg0 , true , false , null ) ; return ContainerUtil . getFirstItem ( loc1 ) ; }
finds an executable file with the specified base name , that is located in a directory listed in an original path environment variable . original path environment variable value is a value returned by system.getenv `` path '' . concode_field_sep Logger LOG concode_elem_sep String PATH_ENV_VAR_NAME concode_field_sep List<File> doFindExeFilesInPath concode_elem_sep File findInPath concode_elem_sep File findInPath concode_elem_sep File findInPath concode_elem_sep File findInPath concode_elem_sep String toLocatableExePath concode_elem_sep String findAbsolutePathOnMac concode_elem_sep List<File> findAllExeFilesInPath concode_elem_sep List<File> findAllExeFilesInPath concode_elem_sep List<File> findExeFilesInPath