ID EN
OS

get_exec_path

Python 3.11

Returns the list of directories that will be searched for a named executable, similar to a shell, when launching a process. env, when specified, should be an environment variable dictionary to lookup the PATH in. By default, when env is None, environ is used.

Syntax

PYTHON
os.get_exec_path(env=None)

See Also

environ