diff --git a/scientific_surfing/corecfg_manager.py b/scientific_surfing/corecfg_manager.py index 2c68ef7..ddb6929 100644 --- a/scientific_surfing/corecfg_manager.py +++ b/scientific_surfing/corecfg_manager.py @@ -217,7 +217,7 @@ class CoreConfigManager: # On Windows, try to execute directly (batch files, etc.) cmd = [str(hook_path), str(config_file_path)] - print(f"🔧 Executing hook: {hook_path.name}") + print(f"🔧 Executing hook: {hook_path}") env = os.environ.copy() env['PYTHONIOENCODING'] = 'utf-8' result = subprocess.run( @@ -227,8 +227,9 @@ class CoreConfigManager: text=True, timeout=30, encoding="utf-8", - shell=True, + # shell=True, env=env, + # stdout=subprocess.PIPE, stderr=subprocess.STDOUT ) if result.returncode == 0: @@ -369,4 +370,4 @@ def deep_merge(dict1, dict2): dict1[k].extend(v) # Example: extend lists. Adjust logic for other list merging needs. else: dict1[k] = v - return dict1 \ No newline at end of file + return dict1