mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2024-12-28 21:31:43 +00:00
删除spj留下的编译器输出文件
This commit is contained in:
parent
a93a22357c
commit
2192073f21
@ -41,6 +41,9 @@ class Compiler(object):
|
||||
if error:
|
||||
raise CompileError(error)
|
||||
|
||||
# 如果是spj的话, 不要在test_case文件夹中留下这个文件
|
||||
os.remove(compiler_out)
|
||||
|
||||
raise CompileError("Compiler runtime error, info: %s" % json.dumps(result).decode("utf-8"))
|
||||
|
||||
return exe_path
|
||||
|
Loading…
Reference in New Issue
Block a user