pub async fn execute_in_session_with_options(
pool_key: &str,
initial_cwd: Option<&str>,
command: &str,
command_cwd: Option<&str>,
options: ShellExecutionOptions,
tx: Sender<StreamChunk>,
) -> Result<StreamingCommandResult>Expand description
Execute a shell command inside a reusable PTY-backed session with an explicit policy.