Address review: validate parent-pid, ensure binaries dir exists, fix Xcode typo

This commit is contained in:
Jamie Pine
2026-03-15 04:09:49 -07:00
parent f1963740b4
commit f1ba73a386
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -161,6 +161,9 @@ if __name__ == "__main__":
)
args = parser.parse_args()
if args.parent_pid is not None and args.parent_pid <= 0:
parser.error("--parent-pid must be a positive integer")
# Detect backend variant from binary name
# voicebox-server-cuda → sets VOICEBOX_BACKEND_VARIANT=cuda
import os