From a9c1f5b790a0835579354482969f5972bb5d1967 Mon Sep 17 00:00:00 2001 From: martin legrand Date: Fri, 11 Apr 2025 12:59:14 +0200 Subject: [PATCH] feat : java interpreter bash handle --- sources/tools/BashInterpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/tools/BashInterpreter.py b/sources/tools/BashInterpreter.py index 2bc2c32..87f8446 100644 --- a/sources/tools/BashInterpreter.py +++ b/sources/tools/BashInterpreter.py @@ -25,7 +25,7 @@ class BashInterpreter(Tools): If so, return True, otherwise return False. Code written by the AI will be executed automatically, so it should not use bash to run it. """ - lang_interpreter = ["python3", "gcc", "g++", "go", "javac", "rustc", "clang", "clang++", "rustc", "rustc++", "rustc++"] + lang_interpreter = ["python3", "gcc", "g++", "mvn", "go", "javac", "rustc", "clang", "clang++", "rustc", "rustc++", "rustc++"] for word in command.split(): if word in lang_interpreter: return True