Skip to content

Commit 640de90

Browse files
committed
use python instead of python.exe
1 parent 5b4c762 commit 640de90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/python/detect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func DetectExecutable(ctx context.Context) (string, error) {
3030
// contains python.exe but no python3.exe. However, system python does have python3 entry
3131
// and it is also added to PATH, so it is found first.
3232
if runtime.GOOS == "windows" {
33-
out, err := exec.LookPath("python.exe")
33+
out, err := exec.LookPath("python")
3434
if err == nil && out != "" {
3535
return out, nil
3636
}

0 commit comments

Comments
 (0)