This commit is contained in:
Mark Qvist
2026-01-06 17:18:40 +01:00
parent 70baa59ac2
commit 97709058b0
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ class Node:
if isinstance(e, str) and (e.startswith("field_") or e.startswith("var_")):
env_map[e] = data[e]
generated = subprocess.run([file_path], stdout=subprocess.PIPE, env=env_map)
generated = subprocess.run([file_path], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, env=env_map)
return generated.stdout
else:
fh = open(file_path, "rb")

View File

@@ -1081,7 +1081,7 @@ class Browser:
if "PATH" in os.environ:
env_map["PATH"] = os.environ["PATH"]
generated = subprocess.run([page_path], stdout=subprocess.PIPE, env=env_map)
generated = subprocess.run([page_path], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, env=env_map)
page_data = generated.stdout
else:
file = open(page_path, "rb")