mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-10-06 19:00:48 +00:00
11 lines
391 B
Rust
11 lines
391 B
Rust
use std::{env, process::Command};
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let mut child = Command::new("cargo").args(["run", "--package", "xtask-generate-commands", "--"].into_iter().map(ToOwned::to_owned).chain(env::args().skip(2)))
|
|
// .stdout(Stdio::piped())
|
|
// .stderr(Stdio::piped())
|
|
.spawn()
|
|
.expect("failed to execute child");
|
|
child.wait()?;
|
|
Ok(())
|
|
}
|