Skip to content

Commit b4400aa

Browse files
Kill paths and homes
1 parent c477c9c commit b4400aa

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

kratos.gid/exec/pip_gids_python.win.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ DEL "%2\%1*.post.res"
1515
DEL "%2\%1*.post.msh"
1616

1717
@REM Calculate!
18+
set PYTHONPATH=""
19+
set PYTHONHOME=""
1820
%python_path% MainKratos.py > "%2\\%1.info" 2> "%2\\%1.err"

kratos.gid/scripts/Launch.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ proc Kratos::ExecuteLaunchByMode {launch_mode} {
304304
Default {
305305
set python_path [GiD_Python_GetPythonExe]
306306
set ::env(python_path) $python_path
307+
set ::env(python_home) [file dirname $python_path]
307308
}
308309
default {}
309310
}

0 commit comments

Comments
 (0)