pub async fn execute_shell_command_capture(
command: &str,
include_prompt: bool,
cancellation_token: CancellationToken,
) -> Result<(ExitStatus, String, bool)>Expand description
Executes a shell command, capturing stdout and stderr.
While capturing, it simultaneously prints both streams to the parent’s stderr in real-time.