Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
050d599d81
commit
2611b6c7f9
@ -19,7 +19,12 @@ impl CuddleX {
|
||||
pub async fn run(&mut self) -> eyre::Result<(String, String, i32)> {
|
||||
let mut cmd = tokio::process::Command::new("cuddle");
|
||||
|
||||
let cmd = cmd.arg("x").arg(&self.command).args(&self.args);
|
||||
let cmd = cmd
|
||||
.arg("x")
|
||||
.arg(&self.command)
|
||||
.args(&self.args)
|
||||
.stdout(std::process::Stdio::inherit())
|
||||
.stderr(std::process::Stdio::inherit());
|
||||
|
||||
let output = cmd.output().await?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user