Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.

djblets.util.filesystem

is_exe_in_path(name)[source]

Checks whether an executable is in the user’s search path.

This expects a name without any system-specific executable extension. It will append the proper extension as necessary. For example, use “myapp” and not “myapp.exe”.

This will return True if the app is in the path, or False otherwise.