diff --git a/src/execution.py b/src/execution.py index 999bb23afaed285b2ed90ee9e13e76efe5fb3c2c..b18b708ede341f92ea82b5d9a2d3624be72079ee 100644 --- a/src/execution.py +++ b/src/execution.py @@ -74,7 +74,7 @@ def unsafe_execute(tmp_dir, language_type, timeout, sample, result, task_id): chdir = os.chdir # Disable functionalities that can make destructive changes to the test. - # reliability_guard() + reliability_guard() try: exec_globals = {} @@ -537,8 +537,8 @@ def reliability_guard(maximum_memory_bytes: Optional[int] = None): shutil.move = None shutil.chown = None - import subprocess - subprocess.Popen = None # type: ignore + # import subprocess + # subprocess.Popen = None # type: ignore __builtins__['help'] = None