From 4b57fd512d929a725ad1669334389e820b90076a Mon Sep 17 00:00:00 2001 From: MasloMaslane Date: Fri, 23 Aug 2024 13:17:12 +0200 Subject: [PATCH] Fix sio2jail executor --- src/sinol_make/executors/sio2jail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sinol_make/executors/sio2jail.py b/src/sinol_make/executors/sio2jail.py index 0df89d0c..b87049c1 100644 --- a/src/sinol_make/executors/sio2jail.py +++ b/src/sinol_make/executors/sio2jail.py @@ -27,7 +27,7 @@ def _execute(self, command: List[str], time_limit: int, hard_time_limit: int, me stderr: Union[None, int], fds_to_close: Union[None, List[int]], *args, **kwargs) -> Tuple[bool, bool, int, List[str]]: env = os.environ.copy() - env['UNDER_SIO2JAIL'] = 1 + env['UNDER_SIO2JAIL'] = "1" with open(result_file_path, "w") as result_file: try: process = subprocess.Popen(' '.join(command), *args, shell=True, stdin=stdin, stdout=stdout, env=env,