feat: multiple output modes and less logs at boot (fixes)

This commit is contained in:
2026-11-04 01:42:24 +01:00
parent d0640583a1
commit a76abe63db
9 changed files with 22 additions and 11 deletions
+2 -2
View File
@@ -56,11 +56,11 @@ build: $(BUILD_DIR)/$(TARGET)
.PHONY: run
run: $(BUILD_DIR)/$(TARGET)
@$(BUILD_DIR)/$(TARGET) $(RUN_ARGS) 2>&1 >> $(PROJECT_DIR)/forge.log
@$(BUILD_DIR)/$(TARGET) $(RUN_ARGS) 2>&1 | tee -ai $(PROJECT_DIR)/forge.log 2>&1 > /dev/null
.PHONY: start-bg
start-bg:
@python3 $(PROJECT_DIR)/__main__.py 2>&1 >> $(PROJECT_DIR)/python.log 2>&1
@python3 $(PROJECT_DIR)/__main__.py 2>&1 | tee -ai $(PROJECT_DIR)/python.log 2>&1 > /dev/null &
.PHONY: start-fg
start-fg: