Harden detached worker module startup
This commit is contained in:
parent
5b43c44dd7
commit
d65b83a140
3 changed files with 12 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue