fix run_report
This commit is contained in:
parent
a60731d812
commit
904af64f6f
@ -9,7 +9,7 @@ def execute_task(dir):
|
|||||||
for task_set in task_sets:
|
for task_set in task_sets:
|
||||||
try:
|
try:
|
||||||
with open(Path(dir,f'{task_set}.in')) as f_in, open(Path(dir,f'{task_set}.out'), 'w') as f_out:
|
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,
|
stdin=f_in,
|
||||||
stdout=f_out,
|
stdout=f_out,
|
||||||
stderr=subprocess.DEVNULL)
|
stderr=subprocess.DEVNULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user