Dashboard › opencode › script inner shell interactive
01a08278-5922-74f3-85e8-831e65ad253eThe PTY shell must remain interactive while argv boundaries remain free from shell evaluation. Chose util-linux script with /bin/sh -i -c and canonical POSIX boundary-preserving serialization over interpolating raw argv because script -c alone is non-interactive and model-controlled quoting is unsafe. Preserve script -e; test spaces, quotes, metacharacters, Unicode, normal exits, and signals.