# Exit

* exit

* [Function std::process::exit](https://doc.rust-lang.org/std/process/fn.exit.html)

{% embed include file="src/examples/other/exit/src/main.rs" %}

```
echo $?
echo %ERROR_LEVEL%
```


