diff --git a/setup.py b/setup.py index e560b44..bee6a64 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name = "sioworkers", - version = '1.5.1', + version = '1.5.2', author = "SIO2 Project Team", author_email = 'sio2@sio2project.mimuw.edu.pl', description = "Programming contest judging infrastructure", diff --git a/sio/executors/interactive_common.py b/sio/executors/interactive_common.py index 338a658..907da2a 100644 --- a/sio/executors/interactive_common.py +++ b/sio/executors/interactive_common.py @@ -150,7 +150,7 @@ def run(self): environ_prefix='interactor_', mem_limit=DEFAULT_INTERACTOR_MEM_LIMIT, time_limit=interactor_time_limit, - pass_fds=(r2, w1), + fds_to_close=(r2, w1), close_passed_fd=True, cwd=tempcwd(), in_file=environ['in_file'], @@ -166,7 +166,7 @@ def run(self): ignore_errors=True, environ=environ, environ_prefix='exec_', - pass_fds=(r1, w2), + fds_to_close=(r1, w2), close_passed_fd=True, cwd=tempcwd(), in_file=environ['in_file'],