|
|
@@ -181,6 +181,8 @@ pub async fn publish(
|
|
|
let pushed = std::process::Command::new("gh")
|
|
|
.args(["api", "-X", "POST", &format!("gists/{id}"), "--input", "-"])
|
|
|
.stdin(std::process::Stdio::piped())
|
|
|
+ .stdout(std::process::Stdio::null())
|
|
|
+ .stderr(std::process::Stdio::null())
|
|
|
.spawn()
|
|
|
.and_then(|mut child| {
|
|
|
if let Some(mut stdin) = child.stdin.take() {
|