Stream output
Pass callbacks to receive output while the command runs:Background processes
background=True returns a handle at once. The process keeps running after your script exits, for as long as the sandbox lives; reconnect to it by PID from anywhere.
Write to stdin
stdin.py
Terminals (PTY)
A PTY gives you a real terminal: colours, line editing and full-screen programs.pty.py
anona-compute connect opens an interactive login shell in the sandbox over the same channel, with no SSH server involved: