binaryninja.os.get_exec_path

get_exec_path(env=None)

Returns the sequence of directories that will be searched for the named executable (similar to a shell) when launching a process.

env must be an environment variable dict or None. If env is None, os.environ will be used.