exec runs processes in it once it runs.
refresh
method
wait
method
exec
method
args once the sandbox runs.
pty, as (rows, columns), runs it on a terminal whose output
reads as stdout. The process is killed once its handle is dropped.