From 904af64f6f8d29378f873fb68d3140facfe7da08 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Mon, 11 Oct 2021 09:41:46 +0200 Subject: [PATCH] fix run_report --- run_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_report.py b/run_report.py index 3d3b825..9f28267 100644 --- a/run_report.py +++ b/run_report.py @@ -9,7 +9,7 @@ def execute_task(dir): for task_set in task_sets: try: with open(Path(dir,f'{task_set}.in')) as f_in, open(Path(dir,f'{task_set}.out'), 'w') as f_out: - process = subprocess.Popen(['python3' ,f'{dir}/run.py'], + process = subprocess.Popen(['python3' ,Path(dir,'run.py')], stdin=f_in, stdout=f_out, stderr=subprocess.DEVNULL)