Compare commits

...
2 Commits
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -5,6 +5,7 @@ import json
import logging
import os
import random
import shlex
import shutil
import socket
import subprocess
@@ -115,8 +116,6 @@ class ComfyUIServer:
subprocess.run(command, check=True, stdout=stdout, env=env)
logger.info("Successfully disabled Comfy CLI tracking")
logger.info("Preparing directories required by ComfyUI...")
logger.info("Starting ComfyUI in the background...")
command = [
"python",
@@ -133,6 +132,8 @@ class ComfyUIServer:
if self.host != "localhost":
command.extend(["--listen", self.host])
if options := env.pop("COMFYUI_OPTIONS", None):
command.extend(shlex.split(options))
def preexec_fn():
os.setpgrp()
-1
View File
@@ -239,7 +239,6 @@ def retrieve_workflow_outputs(
should_zip = any(
node["class_type"] == "CPackOutputZipSwitch" for node in workflow.values()
)
print("Should create zip:", should_zip, outputs, workflow)
zip_paths: list[tuple[Path, str]] = []
if len(outputs) != 1:
value_map = {}