Skip to content

Commit deda5b6

Browse files
committed
Update sandbox references in sio.workers.executors from ancient, broken versions
1 parent 6f8e145 commit deda5b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sio/workers/executors.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ class Sio2JailExecutor(SandboxExecutor):
604604
REAL_TIME_LIMIT_ADDEND = 1000 # (in ms)
605605

606606
def __init__(self):
607-
super(Sio2JailExecutor, self).__init__('sio2jail_exec-sandbox')
607+
super(Sio2JailExecutor, self).__init__('sio2jail_exec-sandbox-1.4.4')
608608

609609
def _execute(self, command, **kwargs):
610610
options = []
@@ -640,6 +640,7 @@ def _execute(self, command, **kwargs):
640640
try:
641641
result_file = tempfile.NamedTemporaryFile(dir=tempcwd())
642642
kwargs['ignore_errors'] = True
643+
print(command)
643644
renv = execute_command(
644645
command + [noquote('2>'), result_file.name], **kwargs
645646
)
@@ -781,7 +782,7 @@ class PRootExecutor(BaseExecutor):
781782
def __init__(self, sandbox):
782783
"""``sandbox`` has to be a sandbox name."""
783784
self.chroot = get_sandbox(sandbox)
784-
self.proot = SandboxExecutor('proot-sandbox')
785+
self.proot = SandboxExecutor('proot-sandbox_amd64')
785786

786787
self.options = []
787788
with self.chroot:

0 commit comments

Comments
 (0)