From c4f227ae1bd87ca26f1ee916bbcc6f00a5883587 Mon Sep 17 00:00:00 2001 From: LEE HAESUNG <102472529+JungangHighschool@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:29:51 +0900 Subject: [PATCH] fix(be): python exec args (#1425) * fix(be): python exec args * fix(be): python exec file name * fix(be): comments --- iris/src/service/sandbox/langConfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris/src/service/sandbox/langConfig.go b/iris/src/service/sandbox/langConfig.go index 5d70f4aeb0..c1e460d68f 100644 --- a/iris/src/service/sandbox/langConfig.go +++ b/iris/src/service/sandbox/langConfig.go @@ -124,7 +124,7 @@ func NewLangConfig(file file.FileManager, javaPolicyPath string) *langConfig { var pyConfig = config{ Language: PYTHON, SrcName: "solution.py", - ExeName: "__pycache__/solution.cpython-38.pyc", // TODO: 파이썬 버전 확인 + ExeName: "solution.py", // TODO: Python version에 따라 __pycache__ 파일 버전 이름이 달라짐... MaxCompileCpuTime: 3000, MaxCompileRealTime: 10000, MaxCompileMemory: 128 * 1024 * 1024,