This commit is contained in:
Michael Ingvarsson
2026-07-16 12:04:51 +02:00
parent b99730f9a4
commit e81f03c5aa
2 changed files with 22 additions and 4 deletions
+2 -2
View File
@@ -274,10 +274,10 @@ class CodingTools:
"""
resolved: str = self._resolve_path(path)
try:
command: str = f"grep -ri '{pattern}' {resolved}"
command: list[str] = ["grep", "-ri", pattern, resolved]
process: subprocess.Popen[str] = subprocess.Popen(
command,
shell=True,
shell=False,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,