os.Path.executable

The os.Path.executable method checks the file executability. The syntax of the function is as follows:

 

CALL os.Path.executable(f_name) RETURNING result

 

where:

·         f_name = a string standing for the file name to check,

·         result = TRUE or FALSE if the file is executable or not, respectively.