void (@Nullable String homePath, Map<String, String> env, boolean addPyCharmHosted) { PythonEnvUtil.setPythonUnbuffered(env); if (homePath != null) { PythonEnvUtil.resetHomePathChanges(homePath, env); } if (addPyCharmHosted) { env.put("PYCHARM_HOSTED", "1"); } }