1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages

Harden detached worker module startup

This commit is contained in:
Andraxion 2026-07-29 12:48:52 -04:00
parent 5b43c44dd7
commit d65b83a140
3 changed files with 12 additions and 3 deletions

View file

@ -201,7 +201,7 @@ def _invoke_worker(request: bytes) -> subprocess.CompletedProcess[bytes]:
"PYTHONUTF8": "1",
}
)
command = [sys.executable, "-I", "-m", "docforge.projection_worker"]
command = [sys.executable, "-I", "-m", "docforge._projection_worker_main"]
with tempfile.TemporaryFile() as output:
completed = subprocess.run(
command,