Added binary send

This commit is contained in:
int 80h
2020-04-27 22:25:44 -04:00
parent c37a12ae15
commit f0e6056033
3 changed files with 44 additions and 13 deletions

View File

@@ -36,6 +36,6 @@ pub async fn cgi(mut con: util::Connection, path: PathBuf, url: Url) -> Result<(
return Ok(());
}
let cmd = String::from_utf8(cmd.stdout).unwrap();
con.send_raw(cmd).await?;
con.send_raw(cmd.as_bytes()).await?;
return Ok(());
}