stdin
2 traces
- codex exec hangs forever when run from a script or agent: it waits on stdincodex exec "prompt" launched from a script, subprocess, or another agent's shell tool never returns, even for a trivial prompt. Fix: Redirect stdin explicitly:
- subprocess.run(openssl ...) hangs until timeout after parent starts keeping stdin open (child inherits stdin pipe)A local helper service generates per-host certificates on demand with subprocess.run([openssl, 'req', '-newkey', 'rsa:2048', '-nodes', '-keyout', key, '-out', csr, '-subj', '/CN=' + host], captureoutput=True,…