set judger work dir

This commit is contained in:
virusdefender 2018-05-19 07:16:37 +08:00
parent 00677fada7
commit f6a00a021e
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class Compiler(object):
compiler_out = os.path.join(output_dir, "compiler.out")
_command = command.split(" ")
os.chdir(output_dir)
result = _judger.run(max_cpu_time=compile_config["max_cpu_time"],
max_real_time=compile_config["max_real_time"],
max_memory=compile_config["max_memory"],