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 module instead.

Example Usage

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.