Navigation

Operators and Keywords

Function List:

C++ API

: val = EXEC_PATH ()
: old_val = EXEC_PATH (new_val)
: EXEC_PATH (new_val, "local")

Query or set the internal variable that specifies a colon separated list of directories to append to the shell PATH when executing external programs.

The initial value of is taken from the environment variable OCTAVE_EXEC_PATH, but that value can be overridden by the command line argument --exec-path PATH.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: IMAGE_PATH, OCTAVE_HOME.

Package: octave