Closes a process's standard input, so it reads end of file.
Runs a command, yielding its output as it arrives and then its exit. Ending iteration early, or aborting, stops only the stream, not the process.
Requests that a process exit forcefully and returns without waiting. Use
SandboxProcess.wait for it to end, with status killed.
Lists the sandbox's processes, running and finished.
Gets a process's output so far.
Requests that a process exit gracefully and returns without waiting. Use
SandboxProcess.wait for it to end, with status stopped.
Yields a process's output line by line as it arrives, ending when the process exits. Works for any process, including one started elsewhere. A partial line, such as a prompt, is yielded once its newline arrives or the stream ends. Use SandboxProcess.execStream for output as it is written. Ending iteration early, or aborting, stops only the stream.
Waits for a process to finish, returning it whether it succeeded or not. Throws SandboxProcessWaitTimeoutError on timeout, which does not stop the process.
Writes to the standard input of a process started with stdin: true.
Processes in a sandbox.