Skip to content

Commit db51b1d

Browse files
needed for clean installations
1 parent f77e6f8 commit db51b1d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

kratos.gid/scripts/Launch.tcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ proc Kratos::GetPythonExeName { } {
4343
}
4444

4545
proc Kratos::GetDefaultPythonPath { } {
46+
set pat ""
47+
catch {
4648
set py [Kratos::GetPythonExeName]
47-
return [exec $py -c "import sys; print(sys.executable)" 2>@1]
49+
set pat [exec $py -c "import sys; print(sys.executable)" 2>@1]
50+
}
51+
return $pat
4852
}
4953

5054
proc Kratos::pythonVersion {{pythonExecutable "python"}} {

0 commit comments

Comments
 (0)