> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blocks.team/llms.txt
> Use this file to discover all available pages before exploring further.

# experimental_bash

The `experimental_bash` module is for when you need to create a persistent and stateful bash session. For one-off stateless bash commands, you can use the [bash](https://docs.blocks.team/sdk/bash.md) module instead.

## Example Usage

```python theme={null}
from blocks import experimental_bash

experimental_bash("cd ../")
experimental_bash("mkdir new_dir")
```

### Arguments

**command** `string` *required*

The bash command to execute.

**suppress\_exception** `bool`

If `true`, suppresses exceptions raised by the command.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.