We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77e6f8 commit db51b1dCopy full SHA for db51b1d
1 file changed
kratos.gid/scripts/Launch.tcl
@@ -43,8 +43,12 @@ proc Kratos::GetPythonExeName { } {
43
}
44
45
proc Kratos::GetDefaultPythonPath { } {
46
+ set pat ""
47
+ catch {
48
set py [Kratos::GetPythonExeName]
- 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
52
53
54
proc Kratos::pythonVersion {{pythonExecutable "python"}} {
0 commit comments