From 6f29be2f6d03be9b60e006f718e0d27e70a45581 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Thu, 23 Jun 2022 15:53:13 +0800 Subject: [PATCH] python3 --- routers/repo/grampus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index 2c3d76a09..c69654c81 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -649,7 +649,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo } } - commandCode := "cd /cache/code/" + strings.ToLower(repoName) + ";python " + bootFile + paramCode + ";" + commandCode := "cd /cache/code/" + strings.ToLower(repoName) + ";/usr/bin/python3 " + bootFile + paramCode + ";" command += commandCode //get exec result