# Starting process inside a sandbox

Here are the basic operations you can do with the process inside a LLM sandbox:

- [Start process](/sandbox/process#start-process)
- [Stop process](/sandbox/process#stop-process)
- [Stdout](/sandbox/process#stream-stdout)
- [Stdin](/sandbox/process#send-stdin)
- [Stderr](/sandbox/process#stream-stderr)
- [On exit](/sandbox/process#on-process-exit)

## Start process

<CodeGroupAutoload
  path="basics/process_start"
  isRunnable={true}
/>

## Stop process

<CodeGroupAutoload
  path="basics/process_stop"
  isRunnable={false}
/>

## Stream stdout

Set either stdout handler for the whole sandbox level or per process.

<CodeGroupAutoload
  path="basics/process_stream_stdout"
  isRunnable={false}
/>

## Stream stderr

Set either stderr handler for the whole sandbox level or per process.

<CodeGroupAutoload
  path="basics/process_stream_stderr"
  isRunnable={false}
/>

## On process exit

Set either on exit handler for the whole sandbox level or per process.

<CodeGroupAutoload
  path="basics/process_exit"
  isRunnable={false}
/>

## Send stdin

<CodeGroupAutoload
  path="basics/process_write_stdin"
  isRunnable={true}
/>
