We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f872314 commit 3b43f5fCopy full SHA for 3b43f5f
crates/chat-cli/src/cli/chat/tools/execute/unix.rs
@@ -27,8 +27,10 @@ pub async fn run_command<W: Write>(
27
max_result_size: usize,
28
mut updates: Option<W>,
29
) -> Result<CommandResult> {
30
+ let shell = std::env::var("AMAZON_Q_CHAT_SHELL").unwrap_or("bash".to_string());
31
+
32
// We need to maintain a handle on stderr and stdout, but pipe it to the terminal as well
- let mut child = tokio::process::Command::new("bash")
33
+ let mut child = tokio::process::Command::new(shell)
34
.arg("-c")
35
.arg(command)
36
.stdin(Stdio::inherit())
0 commit comments