Jump to >

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.