use std::io::Write; fn main() { let _ = ::std::iter::repeat('a' as u8).take(10).collect::>(); let stderr = ::std::io::stderr(); let mut stderr = stderr.lock(); writeln!(stderr, "some {} text", "").unwrap(); std::process::Command::new("true").env("c", "d").spawn(); }