fix: swapped to just run the binary on the server

moved away from `sh -c`
This commit is contained in:
Andrew Rioux
2023-09-06 09:04:26 -04:00
parent 17e6056a03
commit 231108f2c3
3 changed files with 8 additions and 6 deletions

View File

@@ -103,7 +103,6 @@ async fn run_command(
}
Event::Remote(Response::CommandDone(cid, _)) if cid == id => break,
Event::Stdin(stdin) => {
println!("here");
let _ = connection
.send_command(Command::SendStdin(stdin, id))
.await?;