mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge 3f8a06d077 into f9bbab9944
This commit is contained in:
commit
48125fbfc8
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ def find_executable(executable):
|
|||
Union[str, None]: Full path to executable with extension which was
|
||||
found otherwise None.
|
||||
"""
|
||||
# Expand user and environment variables
|
||||
executable = os.path.expandvars(os.path.expanduser(executable))
|
||||
|
||||
# Skip if passed path is file
|
||||
if is_file_executable(executable):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue