SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Fix: Do not request job control in bash (#345)
Kilian Lieretd17fb93c9022
diff --git a/sweagent/environment/utils.py b/sweagent/environment/utils.pyindex 6e334274..0dbcd4c1 100644--- a/sweagent/environment/utils.py+++ b/sweagent/environment/utils.py@@ -253,7 +253,6 @@ def _get_non_persistent_container(ctr_name: str, image_name: str) -> Tuple[subprimage_name,"/bin/bash","-l",- "-m",]logger.debug(f"Starting container with command: %s", shlex.join(startup_cmd))container = subprocess.Popen(@@ -305,7 +304,6 @@ def _get_persistent_container(ctr_name: str, image_name: str, persistent: bool =ctr_name,"/bin/bash","-l",- "-m",]logger.debug(f"Starting container with command: %s", shlex.join(startup_cmd))container = subprocess.Popen(