Skip to content

Commit 4f488e9

Browse files
authored
Redirect stderr to /dev/null (#49)
1 parent 85a6ec0 commit 4f488e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sinol_make/commands/run/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def run_solution(self, data_for_execution: ExecutionData):
291291
raise Exception("Measuring time with GNU time on Windows is not supported.")
292292

293293
command = f'{timeout_name} -k {hard_time_limit_in_s}s {hard_time_limit_in_s}s ' \
294-
f'{time_name} -f "%U\\n%M\\n%x" -o {result_file} {executable} <{test} >{output_file}'
294+
f'{time_name} -f "%U\\n%M\\n%x" -o {result_file} {executable} <{test} >{output_file} 2>/dev/null'
295295
return self.execute_time(command, result_file, output_file, self.get_output_file(test), time_limit, memory_limit)
296296

297297

0 commit comments

Comments
 (0)