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 26ff0fc commit a3bc49aCopy full SHA for a3bc49a
src/tools/execute_command/mod.rs
@@ -13,10 +13,7 @@ use crate::agent::event::AgentCommandStatus;
13
14
pub mod tools;
15
16
-#[cfg(unix)]
17
const SHELL: &str = "bash";
18
-#[cfg(windows)]
19
-const SHELL: &str = "cmd";
20
21
#[derive(Default)]
22
pub struct ProcessRegistry {
@@ -167,12 +164,8 @@ impl ProcessRegistry {
167
164
.stdout(std::process::Stdio::piped())
168
165
.stderr(std::process::Stdio::piped());
169
166
170
- #[cfg(unix)]
171
cmd.arg("-c");
172
173
- #[cfg(windows)]
174
- cmd.arg("/C");
175
-
176
cmd.arg(command);
177
});
178
child.wrap(process_wrap::tokio::KillOnDrop);
0 commit comments