diff --git a/prefs.py b/prefs.py index e0660c9f..fc66eea9 100644 --- a/prefs.py +++ b/prefs.py @@ -61,7 +61,7 @@ def help_open_system_profiler(parent) -> None: profiler_path /= 'EDMCSystemProfiler.exe' subprocess.run(profiler_path, check=True) else: - subprocess.run(['python', "EDMCSystemProfiler.py"], shell=True, check=True) + subprocess.run(['python', "EDMCSystemProfiler.py"], shell=False, check=True) except Exception as err: parent.status["text"] = tr.tl("Error in System Profiler") # LANG: Catch & Record Profiler Errors logger.exception(err)