os.Path.executable

Checks if a file is executable.

Syntax

os.Path.executable(
   fname STRING)
  RETURNING result INTEGER
  1. fname is the file name.

Usage

The function returns TRUE if the file is executable, FALSE otherwise.