Skip to main content

Module bash_executor

Module bash_executor 

Source
Expand description

Bash executor for persistent shell sessions

Provides a persistent bash session that maintains state between commands, including working directory and environment variables.

Structs§

BashExecutor
A persistent bash executor
BashExecutorConfig
Bash executor configuration
BashResult
Result of a bash execution

Functions§

command_exists
Check if a command exists in PATH
create_executor
Create an Arc-wrapped executor for sharing
execute_once
Execute a single command without persistent state
execute_with_timeout
Execute a command with a specific timeout
get_shell
Get the shell being used