Skip to content

Commit

Permalink
Fix sio2jail executor
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Aug 23, 2024
1 parent 14fb5d3 commit 4b57fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinol_make/executors/sio2jail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b57fd5

Please sign in to comment.