Show More
@@ -59,7 +59,7 b' def find_cmd(cmd):' | |||||
59 | cmd : str |
|
59 | cmd : str | |
60 | The command line program to look for. |
|
60 | The command line program to look for. | |
61 | """ |
|
61 | """ | |
62 | if cmd == 'python': |
|
62 | if cmd in ('python', os.path.basename(sys.executable)): | |
63 | return os.path.abspath(sys.executable) |
|
63 | return os.path.abspath(sys.executable) | |
64 | try: |
|
64 | try: | |
65 | path = _find_cmd(cmd).rstrip() |
|
65 | path = _find_cmd(cmd).rstrip() |
General Comments 0
You need to be logged in to leave comments.
Login now